CfnExperimentRunPropsMixin

class aws_cdk.cfn_property_mixins.aws_appconfig.CfnExperimentRunPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::AppConfig::ExperimentRun.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-experimentrun.html

CloudformationResource:

AWS::AppConfig::ExperimentRun

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_appconfig as appconfig
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_experiment_run_props_mixin = appconfig.CfnExperimentRunPropsMixin(appconfig.CfnExperimentRunMixinProps(
    application_identifier="applicationIdentifier",
    description="description",
    experiment_definition_identifier="experimentDefinitionIdentifier",
    exposure_percentage=123,
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )],
    treatment_overrides=appconfig.CfnExperimentRunPropsMixin.TreatmentOverridesProperty(
        inline={
            "inline_key": "inline"
        }
    )
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::AppConfig::ExperimentRun.

Parameters:
  • props (Union[CfnExperimentRunMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['applicationIdentifier', 'description', 'experimentDefinitionIdentifier', 'exposurePercentage', 'tags', 'treatmentOverrides']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

TreatmentOverridesProperty

class CfnExperimentRunPropsMixin.TreatmentOverridesProperty(*, inline=None)

Bases: object

Treatment overrides for specific entities.

Parameters:

inline (Union[IResolvable, Mapping[str, str], None]) – Map of entity ID to treatment key (t1, t2, …, or c for control).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-experimentrun-treatmentoverrides.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_appconfig as appconfig

treatment_overrides_property = appconfig.CfnExperimentRunPropsMixin.TreatmentOverridesProperty(
    inline={
        "inline_key": "inline"
    }
)

Attributes

inline

Map of entity ID to treatment key (t1, t2, …, or c for control).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appconfig-experimentrun-treatmentoverrides.html#cfn-appconfig-experimentrun-treatmentoverrides-inline