Class CfnLaunch.SegmentOverrideProperty
Use this structure to specify different traffic splits for one or more audience segments .
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.AWS.Evidently.dll
Syntax (csharp)
public class SegmentOverrideProperty : Object, CfnLaunch.ISegmentOverrideProperty
Syntax (vb)
Public Class SegmentOverrideProperty
Inherits Object
Implements CfnLaunch.ISegmentOverrideProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Evidently;
var segmentOverrideProperty = new SegmentOverrideProperty {
EvaluationOrder = 123,
Segment = "segment",
Weights = new [] { new GroupToWeightProperty {
GroupName = "groupName",
SplitWeight = 123
} }
};
Synopsis
Constructors
SegmentOverrideProperty() |
Properties
EvaluationOrder | A number indicating the order to use to evaluate segment overrides, if there are more than one. |
Segment | The ARN of the segment to use for this override. |
Weights | The traffic allocation percentages among the feature variations to assign to this segment. |
Constructors
SegmentOverrideProperty()
public SegmentOverrideProperty()
Properties
EvaluationOrder
A number indicating the order to use to evaluate segment overrides, if there are more than one.
public double EvaluationOrder { get; set; }
Property Value
System.Double
Remarks
Segment overrides with lower numbers are evaluated first.
Segment
The ARN of the segment to use for this override.
public string Segment { get; set; }
Property Value
System.String
Remarks
Weights
The traffic allocation percentages among the feature variations to assign to this segment.
public object Weights { get; set; }
Property Value
System.Object
Remarks
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.