CfnLaunchMixinProps

class aws_cdk.mixins_preview.aws_evidently.mixins.CfnLaunchMixinProps(*, description=None, execution_status=None, groups=None, metric_monitors=None, name=None, project=None, randomization_salt=None, scheduled_splits_config=None, tags=None)

Bases: object

Properties for CfnLaunchPropsMixin.

Parameters:
  • description (Optional[str]) – An optional description for the launch.

  • execution_status (Union[IResolvable, ExecutionStatusObjectProperty, Dict[str, Any], None]) – A structure that you can use to start and stop the launch.

  • groups (Union[IResolvable, Sequence[Union[IResolvable, LaunchGroupObjectProperty, Dict[str, Any]]], None]) – An array of structures that contains the feature and variations that are to be used for the launch. You can up to five launch groups in a launch.

  • metric_monitors (Union[IResolvable, Sequence[Union[IResolvable, MetricDefinitionObjectProperty, Dict[str, Any]]], None]) – An array of structures that define the metrics that will be used to monitor the launch performance. You can have up to three metric monitors in the array.

  • name (Optional[str]) – The name for the launch. It can include up to 127 characters.

  • project (Optional[str]) – The name or ARN of the project that you want to create the launch in.

  • randomization_salt (Optional[str]) – When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. This randomization ID is a combination of the entity ID and randomizationSalt . If you omit randomizationSalt , Evidently uses the launch name as the randomizationsSalt .

  • scheduled_splits_config (Union[IResolvable, Sequence[Union[IResolvable, StepConfigProperty, Dict[str, Any]]], None]) – An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Assigns one or more tags (key-value pairs) to the launch. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. Tags don’t have any semantic meaning to AWS and are interpreted strictly as strings of characters. You can associate as many as 50 tags with a launch. For more information, see Tagging AWS resources .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.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.mixins_preview.aws_evidently import mixins as evidently_mixins

cfn_launch_mixin_props = evidently_mixins.CfnLaunchMixinProps(
    description="description",
    execution_status=evidently_mixins.CfnLaunchPropsMixin.ExecutionStatusObjectProperty(
        desired_state="desiredState",
        reason="reason",
        status="status"
    ),
    groups=[evidently_mixins.CfnLaunchPropsMixin.LaunchGroupObjectProperty(
        description="description",
        feature="feature",
        group_name="groupName",
        variation="variation"
    )],
    metric_monitors=[evidently_mixins.CfnLaunchPropsMixin.MetricDefinitionObjectProperty(
        entity_id_key="entityIdKey",
        event_pattern="eventPattern",
        metric_name="metricName",
        unit_label="unitLabel",
        value_key="valueKey"
    )],
    name="name",
    project="project",
    randomization_salt="randomizationSalt",
    scheduled_splits_config=[evidently_mixins.CfnLaunchPropsMixin.StepConfigProperty(
        group_weights=[evidently_mixins.CfnLaunchPropsMixin.GroupToWeightProperty(
            group_name="groupName",
            split_weight=123
        )],
        segment_overrides=[evidently_mixins.CfnLaunchPropsMixin.SegmentOverrideProperty(
            evaluation_order=123,
            segment="segment",
            weights=[evidently_mixins.CfnLaunchPropsMixin.GroupToWeightProperty(
                group_name="groupName",
                split_weight=123
            )]
        )],
        start_time="startTime"
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

An optional description for the launch.

See:

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

execution_status

A structure that you can use to start and stop the launch.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-executionstatus

groups

An array of structures that contains the feature and variations that are to be used for the launch.

You can up to five launch groups in a launch.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-groups

metric_monitors

An array of structures that define the metrics that will be used to monitor the launch performance.

You can have up to three metric monitors in the array.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-metricmonitors

name

The name for the launch.

It can include up to 127 characters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-name

project

The name or ARN of the project that you want to create the launch in.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-project

randomization_salt

When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served.

This randomization ID is a combination of the entity ID and randomizationSalt . If you omit randomizationSalt , Evidently uses the launch name as the randomizationsSalt .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-randomizationsalt

scheduled_splits_config

An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html#cfn-evidently-launch-scheduledsplitsconfig

tags

Assigns one or more tags (key-value pairs) to the launch.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don’t have any semantic meaning to AWS and are interpreted strictly as strings of characters.

You can associate as many as 50 tags with a launch.

For more information, see Tagging AWS resources .

See:

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