Interface CfnLaunch.StepConfigProperty

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

@Stability(Stable) public static interface CfnLaunch.StepConfigProperty extends software.amazon.jsii.JsiiSerializable
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:

 // 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();
 
  • Method Details

    • getGroupWeights

      @Stability(Stable) @NotNull Object getGroupWeights()
      An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.
    • getStartTime

      @Stability(Stable) @NotNull String getStartTime()
      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

    • getSegmentOverrides

      @Stability(Stable) @Nullable default Object getSegmentOverrides()
      An array of structures that you can use to specify different traffic splits for one or more audience segments .

      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 .

    • builder

      @Stability(Stable) static CfnLaunch.StepConfigProperty.Builder builder()
      Returns:
      a CfnLaunch.StepConfigProperty.Builder of CfnLaunch.StepConfigProperty