Class: AWSCDK::Evidently::CfnLaunch::StepConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Evidently::CfnLaunch::StepConfigProperty
- Defined in:
- evidently/cfn_launch.rb
Overview
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.
Instance Attribute Summary collapse
-
#group_weights ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Evidently::CfnLaunch::GroupToWeightProperty>
readonly
An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.
-
#segment_overrides ⇒ AWSCDK::IResolvable, ...
readonly
An array of structures that you can use to specify different traffic splits for one or more audience segments .
-
#start_time ⇒ String
readonly
The date and time to start this step of the launch.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(group_weights:, start_time:, segment_overrides: nil) ⇒ StepConfigProperty
constructor
A new instance of StepConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(group_weights:, start_time:, segment_overrides: nil) ⇒ StepConfigProperty
Returns a new instance of StepConfigProperty.
943 944 945 946 947 948 949 950 |
# File 'evidently/cfn_launch.rb', line 943 def initialize(group_weights:, start_time:, segment_overrides: nil) @group_weights = group_weights Jsii::Type.check_type(@group_weights, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZXZpZGVudGx5LkNmbkxhdW5jaC5Hcm91cFRvV2VpZ2h0UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "groupWeights") @start_time = start_time Jsii::Type.check_type(@start_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "startTime") @segment_overrides = segment_overrides Jsii::Type.check_type(@segment_overrides, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZXZpZGVudGx5LkNmbkxhdW5jaC5TZWdtZW50T3ZlcnJpZGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "segmentOverrides") unless @segment_overrides.nil? end |
Instance Attribute Details
#group_weights ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Evidently::CfnLaunch::GroupToWeightProperty> (readonly)
An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.
956 957 958 |
# File 'evidently/cfn_launch.rb', line 956 def group_weights @group_weights end |
#segment_overrides ⇒ AWSCDK::IResolvable, ... (readonly)
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 .
972 973 974 |
# File 'evidently/cfn_launch.rb', line 972 def segment_overrides @segment_overrides end |
#start_time ⇒ String (readonly)
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
963 964 965 |
# File 'evidently/cfn_launch.rb', line 963 def start_time @start_time end |
Class Method Details
.jsii_properties ⇒ Object
974 975 976 977 978 979 980 |
# File 'evidently/cfn_launch.rb', line 974 def self.jsii_properties { :group_weights => "groupWeights", :start_time => "startTime", :segment_overrides => "segmentOverrides", } end |
Instance Method Details
#to_jsii ⇒ Object
982 983 984 985 986 987 988 989 990 |
# File 'evidently/cfn_launch.rb', line 982 def to_jsii result = {} result.merge!({ "groupWeights" => @group_weights, "startTime" => @start_time, "segmentOverrides" => @segment_overrides, }) result.compact end |