CfnExperimentRunProps

class aws_cdk.aws_appconfig.CfnExperimentRunProps(*, application_identifier, experiment_definition_identifier, exposure_percentage, description=None, tags=None, treatment_overrides=None)

Bases: object

Properties for defining a CfnExperimentRun.

Parameters:
  • application_identifier (str) – The application name or ID used to create the experiment run.

  • experiment_definition_identifier (str) – The experiment definition name or ID used to create the experiment run.

  • exposure_percentage (Union[int, float]) – Percentage of traffic exposed to the experiment (0-100).

  • description (Optional[str]) – Description of the experiment run.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags to associate with the experiment run.

  • treatment_overrides (Union[IResolvable, TreatmentOverridesProperty, Dict[str, Any], None]) – Treatment overrides for specific entities.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_experiment_run_props = appconfig.CfnExperimentRunProps(
    application_identifier="applicationIdentifier",
    experiment_definition_identifier="experimentDefinitionIdentifier",
    exposure_percentage=123,

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    treatment_overrides=appconfig.CfnExperimentRun.TreatmentOverridesProperty(
        inline={
            "inline_key": "inline"
        }
    )
)

Attributes

application_identifier

The application name or ID used to create the experiment run.

See:

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

description

Description of the experiment run.

See:

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

experiment_definition_identifier

The experiment definition name or ID used to create the experiment run.

See:

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

exposure_percentage

Percentage of traffic exposed to the experiment (0-100).

See:

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

tags

Tags to associate with the experiment run.

See:

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

treatment_overrides

Treatment overrides for specific entities.

See:

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