@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.698Z") @Stability(value=Stable) public class CfnFeature extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.evidently.*;
CfnFeature cfnFeature = CfnFeature.Builder.create(this, "MyCfnFeature")
.name("name")
.project("project")
.variations(List.of(VariationObjectProperty.builder()
.booleanValue(false)
.doubleValue(123)
.longValue(123)
.stringValue("stringValue")
.variationName("variationName")
.build()))
// the properties below are optional
.defaultVariation("defaultVariation")
.description("description")
.entityOverrides(List.of(EntityOverrideProperty.builder()
.entityId("entityId")
.variation("variation")
.build()))
.evaluationStrategy("evaluationStrategy")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnFeature.Builder
A fluent builder for
CfnFeature. |
static interface |
CfnFeature.EntityOverrideProperty
Example:
|
static interface |
CfnFeature.VariationObjectProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFeature(software.constructs.Construct scope,
String id,
CfnFeatureProps props)
Create a new `AWS::Evidently::Feature`.
|
protected |
CfnFeature(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFeature(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDefaultVariation()
`AWS::Evidently::Feature.DefaultVariation`.
|
String |
getDescription()
`AWS::Evidently::Feature.Description`.
|
Object |
getEntityOverrides()
`AWS::Evidently::Feature.EntityOverrides`.
|
String |
getEvaluationStrategy()
`AWS::Evidently::Feature.EvaluationStrategy`.
|
String |
getName()
`AWS::Evidently::Feature.Name`.
|
String |
getProject()
`AWS::Evidently::Feature.Project`.
|
TagManager |
getTags()
`AWS::Evidently::Feature.Tags`.
|
Object |
getVariations()
`AWS::Evidently::Feature.Variations`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDefaultVariation(String value)
`AWS::Evidently::Feature.DefaultVariation`.
|
void |
setDescription(String value)
`AWS::Evidently::Feature.Description`.
|
void |
setEntityOverrides(IResolvable value)
`AWS::Evidently::Feature.EntityOverrides`.
|
void |
setEntityOverrides(List<Object> value)
`AWS::Evidently::Feature.EntityOverrides`.
|
void |
setEvaluationStrategy(String value)
`AWS::Evidently::Feature.EvaluationStrategy`.
|
void |
setName(String value)
`AWS::Evidently::Feature.Name`.
|
void |
setProject(String value)
`AWS::Evidently::Feature.Project`.
|
void |
setVariations(IResolvable value)
`AWS::Evidently::Feature.Variations`.
|
void |
setVariations(List<Object> value)
`AWS::Evidently::Feature.Variations`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFeature(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFeature(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFeature(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnFeatureProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDefaultVariation()
@Stability(value=Stable)
public void setDefaultVariation(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getEntityOverrides()
@Stability(value=Stable)
public void setEntityOverrides(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setEntityOverrides(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getEvaluationStrategy()
@Stability(value=Stable)
public void setEvaluationStrategy(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getProject()
@Stability(value=Stable)
public void setProject(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getVariations()
@Stability(value=Stable)
public void setVariations(@NotNull
IResolvable value)
Copyright © 2021. All rights reserved.