Skip to content
v2.278.0

StepConfigProperty Struct ​

A structure that defines when each step of the launch is to start, and how much launch traffic is to be allocated to each variation during each step.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_evidently as evidently } from 'aws-cdk-lib';
const stepConfigProperty: evidently.CfnLaunch.StepConfigProperty = {
  groupWeights: [{
    groupName: 'groupName',
    splitWeight: 123,
  }],
  startTime: 'startTime',

  // the properties below are optional
  segmentOverrides: [{
    evaluationOrder: 123,
    segment: 'segment',
    weights: [{
      groupName: 'groupName',
      splitWeight: 123,
    }],
  }],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_evidently as evidently

step_config_property = evidently.CfnLaunch.StepConfigProperty(
    group_weights=[evidently.CfnLaunch.GroupToWeightProperty(
        group_name="groupName",
        split_weight=123
    )],
    start_time="startTime",

    # the properties below are optional
    segment_overrides=[evidently.CfnLaunch.SegmentOverrideProperty(
        evaluation_order=123,
        segment="segment",
        weights=[evidently.CfnLaunch.GroupToWeightProperty(
            group_name="groupName",
            split_weight=123
        )]
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.evidently.*;

StepConfigProperty stepConfigProperty = StepConfigProperty.builder()
        .groupWeights(List.of(GroupToWeightProperty.builder()
                .groupName("groupName")
                .splitWeight(123)
                .build()))
        .startTime("startTime")

        // the properties below are optional
        .segmentOverrides(List.of(SegmentOverrideProperty.builder()
                .evaluationOrder(123)
                .segment("segment")
                .weights(List.of(GroupToWeightProperty.builder()
                        .groupName("groupName")
                        .splitWeight(123)
                        .build()))
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Evidently;

var stepConfigProperty = new StepConfigProperty {
    GroupWeights = new [] { new GroupToWeightProperty {
        GroupName = "groupName",
        SplitWeight = 123
    } },
    StartTime = "startTime",

    // the properties below are optional
    SegmentOverrides = new [] { new SegmentOverrideProperty {
        EvaluationOrder = 123,
        Segment = "segment",
        Weights = new [] { new GroupToWeightProperty {
            GroupName = "groupName",
            SplitWeight = 123
        } }
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

stepConfigProperty := &StepConfigProperty{
	GroupWeights: []interface{}{
		&GroupToWeightProperty{
			GroupName: jsii.String("groupName"),
			SplitWeight: jsii.Number(123),
		},
	},
	StartTime: jsii.String("startTime"),

	// the properties below are optional
	SegmentOverrides: []interface{}{
		&SegmentOverrideProperty{
			EvaluationOrder: jsii.Number(123),
			Segment: jsii.String("segment"),
			Weights: []interface{}{
				&GroupToWeightProperty{
					GroupName: jsii.String("groupName"),
					SplitWeight: jsii.Number(123),
				},
			},
		},
	},
}

Properties ​

groupWeightsIResolvable | IResolvable | CfnLaunch.GroupToWeightProperty[]group_weightstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, GroupToWeightProperty]]]groupWeightsIResolvableGroupWeightsIResolvableGroupWeightsinterface{} required #
An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.
segmentOverridesoptionalIResolvable | IResolvable | CfnLaunch.SegmentOverrideProperty[]segment_overridesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SegmentOverrideProperty]]]segmentOverridesoptionalIResolvableSegmentOverridesoptionalIResolvableSegmentOverridesoptionalinterface{} #
An array of structures that you can use to specify different traffic splits for one or more audience *segments* .
notes

A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.

For more information, see Use segments to focus your audience .

startTimestringstart_timestrstartTimeStringStartTimestringStartTime*string required #
The date and time to start this step of the launch.

Use UTC format, yyyy-MM-ddTHH:mm:ssZ . For example, 2025-11-25T23:59:59Z