AWS::Evidently::Launch SegmentOverride - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Evidently::Launch SegmentOverride

Use this structure 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.

This sructure is an array of up to six segment override objects. Each of these objects specifies a segment that you have already created, and defines the traffic split for that segment.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "EvaluationOrder" : Integer, "Segment" : String, "Weights" : [ GroupToWeight, ... ] }

YAML

EvaluationOrder: Integer Segment: String Weights: - GroupToWeight

Properties

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.

Required: Yes

Type: Integer

Update requires: No interruption

Segment

The ARN of the segment to use for this override.

Required: Yes

Type: String

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

Minimum: 1

Maximum: 2048

Update requires: No interruption

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.

Required: Yes

Type: Array of GroupToWeight

Update requires: No interruption