Interface CfnExperimentDefinitionPropsMixin.TreatmentProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnExperimentDefinitionPropsMixin.TreatmentProperty.Jsii$Proxy
Enclosing class:
CfnExperimentDefinitionPropsMixin

@Stability(Stable) public static interface CfnExperimentDefinitionPropsMixin.TreatmentProperty extends software.amazon.jsii.JsiiSerializable
A treatment variant with weight and flag value.

The Key is auto-generated by the service.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.appconfig.*;
 TreatmentProperty treatmentProperty = TreatmentProperty.builder()
         .attributeValues(Map.of(
                 "attributeValuesKey", AttributeValueProperty.builder()
                         .booleanValue(false)
                         .numberArray(List.of(123))
                         .numberValue(123)
                         .stringArray(List.of("stringArray"))
                         .stringValue("stringValue")
                         .build()))
         .description("description")
         .enabled(false)
         .key("key")
         .weight(123)
         .build();
 

See Also: