Interface ICfnLaunchProps
Properties for defining a CfnLaunch
.
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnLaunchProps
Syntax (vb)
Public Interface ICfnLaunchProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html
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 cfnLaunchProps = new CfnLaunchProps {
Groups = new [] { new LaunchGroupObjectProperty {
Feature = "feature",
GroupName = "groupName",
Variation = "variation",
// the properties below are optional
Description = "description"
} },
Name = "name",
Project = "project",
ScheduledSplitsConfig = new [] { new StepConfigProperty {
GroupWeights = new [] { new GroupToWeightProperty {
GroupName = "groupName",
SplitWeight = 123
} },
StartTime = "startTime",
// the properties below are optional
SegmentOverrides = new [] { new SegmentOverrideProperty {
EvaluationOrder = 123,
Segment = "segment",
Weights = new [] { new GroupToWeightProperty {
GroupName = "groupName",
SplitWeight = 123
} }
} }
} },
// the properties below are optional
Description = "description",
ExecutionStatus = new ExecutionStatusObjectProperty {
Status = "status",
// the properties below are optional
DesiredState = "desiredState",
Reason = "reason"
},
MetricMonitors = new [] { new MetricDefinitionObjectProperty {
EntityIdKey = "entityIdKey",
MetricName = "metricName",
ValueKey = "valueKey",
// the properties below are optional
EventPattern = "eventPattern",
UnitLabel = "unitLabel"
} },
RandomizationSalt = "randomizationSalt",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Description | An optional description for the launch. |
ExecutionStatus | A structure that you can use to start and stop the launch. |
Groups | An array of structures that contains the feature and variations that are to be used for the launch. |
MetricMonitors | An array of structures that define the metrics that will be used to monitor the launch performance. |
Name | The name for the launch. |
Project | The name or ARN of the project that you want to create the launch in. |
RandomizationSalt | When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served. |
ScheduledSplitsConfig | An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. |
Tags | Assigns one or more tags (key-value pairs) to the launch. |
Properties
Description
An optional description for the launch.
virtual string Description { get; }
Property Value
System.String
Remarks
ExecutionStatus
A structure that you can use to start and stop the launch.
virtual object ExecutionStatus { get; }
Property Value
System.Object
Remarks
Groups
An array of structures that contains the feature and variations that are to be used for the launch.
object Groups { get; }
Property Value
System.Object
Remarks
You can up to five launch groups in a launch.
MetricMonitors
An array of structures that define the metrics that will be used to monitor the launch performance.
virtual object MetricMonitors { get; }
Property Value
System.Object
Remarks
You can have up to three metric monitors in the array.
Name
The name for the launch.
string Name { get; }
Property Value
System.String
Remarks
It can include up to 127 characters.
Project
The name or ARN of the project that you want to create the launch in.
string Project { get; }
Property Value
System.String
Remarks
RandomizationSalt
When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served.
virtual string RandomizationSalt { get; }
Property Value
System.String
Remarks
This randomization ID is a combination of the entity ID and randomizationSalt
. If you omit randomizationSalt
, Evidently uses the launch name as the randomizationsSalt
.
ScheduledSplitsConfig
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
object ScheduledSplitsConfig { get; }
Property Value
System.Object
Remarks
Tags
Assigns one or more tags (key-value pairs) to the launch.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a launch.
For more information, see Tagging AWS resources .