Class CfnExperimentRun
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appconfig.CfnExperimentRun
- All Implemented Interfaces:
IInspectable,IExperimentRunRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-10T17:51:37.973Z")
@Stability(Stable)
public class CfnExperimentRun
extends CfnResource
implements IInspectable, IExperimentRunRef, ITaggableV2
Resource Type definition for AWS::AppConfig::ExperimentRun.
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.appconfig.*;
CfnExperimentRun cfnExperimentRun = CfnExperimentRun.Builder.create(this, "MyCfnExperimentRun")
.applicationIdentifier("applicationIdentifier")
.experimentDefinitionIdentifier("experimentDefinitionIdentifier")
.exposurePercentage(123)
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.treatmentOverrides(TreatmentOverridesProperty.builder()
.inline(Map.of(
"inlineKey", "inline"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnExperimentRun.static interfaceTreatment overrides for specific entities.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.appconfig.IExperimentRunRef
IExperimentRunRef.Jsii$Default, IExperimentRunRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnExperimentRun(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnExperimentRun(software.amazon.jsii.JsiiObjectRef objRef) CfnExperimentRun(software.constructs.Construct scope, String id, CfnExperimentRunProps props) Create a newAWS::AppConfig::ExperimentRun. -
Method Summary
Modifier and TypeMethodDescriptionThe application name or ID used to create the experiment run.The resolved application ID.The resolved experiment definition ID.The run number (auto-assigned by the service).ISO-8601 timestamp when the run started.Current status of the run.ISO-8601 timestamp when the run was last updated.Tag Manager which manages the tags for this resource.Description of the experiment run.The experiment definition name or ID used to create the experiment run.A reference to a ExperimentRun resource.Percentage of traffic exposed to the experiment (0-100).getTags()Tags to associate with the experiment run.Treatment overrides for specific entities.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnExperimentRun.renderProperties(Map<String, Object> props) voidsetApplicationIdentifier(String value) The application name or ID used to create the experiment run.voidsetDescription(String value) Description of the experiment run.voidThe experiment definition name or ID used to create the experiment run.voidsetExposurePercentage(Number value) Percentage of traffic exposed to the experiment (0-100).voidTags to associate with the experiment run.voidsetTreatmentOverrides(IResolvable value) Treatment overrides for specific entities.voidTreatment overrides for specific entities.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnExperimentRun
protected CfnExperimentRun(software.amazon.jsii.JsiiObjectRef objRef) -
CfnExperimentRun
protected CfnExperimentRun(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnExperimentRun
@Stability(Stable) public CfnExperimentRun(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnExperimentRunProps props) Create a newAWS::AppConfig::ExperimentRun.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnExperimentRun
Checks whether the given object is a CfnExperimentRun.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrApplicationId
The resolved application ID. -
getAttrExperimentDefinitionId
The resolved experiment definition ID. -
getAttrRun
The run number (auto-assigned by the service). -
getAttrStartedAt
ISO-8601 timestamp when the run started. -
getAttrStatus
Current status of the run. -
getAttrUpdatedAt
ISO-8601 timestamp when the run was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getExperimentRunRef
A reference to a ExperimentRun resource.- Specified by:
getExperimentRunRefin interfaceIExperimentRunRef
-
getApplicationIdentifier
The application name or ID used to create the experiment run. -
setApplicationIdentifier
The application name or ID used to create the experiment run. -
getExperimentDefinitionIdentifier
The experiment definition name or ID used to create the experiment run. -
setExperimentDefinitionIdentifier
The experiment definition name or ID used to create the experiment run. -
getExposurePercentage
Percentage of traffic exposed to the experiment (0-100). -
setExposurePercentage
Percentage of traffic exposed to the experiment (0-100). -
getDescription
Description of the experiment run. -
setDescription
Description of the experiment run. -
getTags
Tags to associate with the experiment run. -
setTags
Tags to associate with the experiment run. -
getTreatmentOverrides
Treatment overrides for specific entities.Returns union: either
IResolvableorCfnExperimentRun.TreatmentOverridesProperty -
setTreatmentOverrides
Treatment overrides for specific entities. -
setTreatmentOverrides
@Stability(Stable) public void setTreatmentOverrides(@Nullable CfnExperimentRun.TreatmentOverridesProperty value) Treatment overrides for specific entities.
-