SegmentOverride - CloudWatch Evidently

SegmentOverride

This structure specifies a segment that you have already created, and defines the traffic split for that segment to be used in a launch.

Contents

evaluationOrder

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.

Type: Long

Required: Yes

segment

The ARN of the segment to use.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Pattern: (^[-a-zA-Z0-9._]*$)|(arn:[^:]*:[^:]*:[^:]*:[^:]*:segment/[-a-zA-Z0-9._]*)

Required: Yes

weights

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.

Type: String to long map

Map Entries: Minimum number of 0 items. Maximum number of 5 items.

Key Length Constraints: Minimum length of 1. Maximum length of 127.

Key Pattern: ^[-a-zA-Z0-9._]*$

Valid Range: Minimum value of 0. Maximum value of 100000.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: