Interface CfnExperimentDefinitionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnExperimentDefinitionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:02.585Z") @Stability(Stable) public interface CfnExperimentDefinitionProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnExperimentDefinition.

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.*;
 CfnExperimentDefinitionProps cfnExperimentDefinitionProps = CfnExperimentDefinitionProps.builder()
         .applicationIdentifier("applicationIdentifier")
         .audienceRule("audienceRule")
         .configurationProfileIdentifier("configurationProfileIdentifier")
         .control(TreatmentProperty.builder()
                 .enabled(false)
                 .weight(123)
                 // the properties below are optional
                 .attributeValues(Map.of(
                         "attributeValuesKey", AttributeValueProperty.builder()
                                 .booleanValue(false)
                                 .numberArray(List.of(123))
                                 .numberValue(123)
                                 .stringArray(List.of("stringArray"))
                                 .stringValue("stringValue")
                                 .build()))
                 .description("description")
                 .key("key")
                 .build())
         .environmentIdentifier("environmentIdentifier")
         .flagKey("flagKey")
         .name("name")
         .treatments(List.of(TreatmentProperty.builder()
                 .enabled(false)
                 .weight(123)
                 // the properties below are optional
                 .attributeValues(Map.of(
                         "attributeValuesKey", AttributeValueProperty.builder()
                                 .booleanValue(false)
                                 .numberArray(List.of(123))
                                 .numberValue(123)
                                 .stringArray(List.of("stringArray"))
                                 .stringValue("stringValue")
                                 .build()))
                 .description("description")
                 .key("key")
                 .build()))
         // the properties below are optional
         .audienceDescription("audienceDescription")
         .hypothesis("hypothesis")
         .launchCriteria("launchCriteria")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: