Class: Aws::CloudWatchEvidently::Types::SegmentOverride

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#evaluation_orderInteger

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.

Returns:

  • (Integer)


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

#segmentString

The ARN of the segment to use.

Returns:

  • (String)


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

#weightsHash<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.

Returns:

  • (Hash<String,Integer>)


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