Class: Aws::CloudWatchEvidently::Types::SegmentOverride
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchEvidently::Types::SegmentOverride
- Defined in:
- gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb
Overview
This structure specifies a segment that you have already created, and defines the traffic split for that segment to be used in a launch.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#evaluation_order ⇒ Integer
A number indicating the order to use to evaluate segment overrides, if there are more than one.
-
#segment ⇒ String
The ARN of the segment to use.
-
#weights ⇒ Hash<String,Integer>
The traffic allocation percentages among the feature variations to assign to this segment.
Instance Attribute Details
#evaluation_order ⇒ Integer
A number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first.
2843 2844 2845 2846 2847 2848 2849 |
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2843 class SegmentOverride < Struct.new( :evaluation_order, :segment, :weights) SENSITIVE = [] include Aws::Structure end |
#segment ⇒ String
The ARN of the segment to use.
2843 2844 2845 2846 2847 2848 2849 |
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2843 class SegmentOverride < Struct.new( :evaluation_order, :segment, :weights) SENSITIVE = [] include Aws::Structure end |
#weights ⇒ Hash<String,Integer>
The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.
2843 2844 2845 2846 2847 2848 2849 |
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 2843 class SegmentOverride < Struct.new( :evaluation_order, :segment, :weights) SENSITIVE = [] include Aws::Structure end |