interface CfnLaunchProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Evidently.CfnLaunchProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsevidently#CfnLaunchProps |
![]() | software.amazon.awscdk.services.evidently.CfnLaunchProps |
![]() | aws_cdk.aws_evidently.CfnLaunchProps |
![]() | aws-cdk-lib » aws_evidently » CfnLaunchProps |
Properties for defining a CfnLaunch
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-launch.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_evidently as evidently } from 'aws-cdk-lib';
const cfnLaunchProps: evidently.CfnLaunchProps = {
groups: [{
feature: 'feature',
groupName: 'groupName',
variation: 'variation',
// the properties below are optional
description: 'description',
}],
name: 'name',
project: 'project',
scheduledSplitsConfig: [{
groupWeights: [{
groupName: 'groupName',
splitWeight: 123,
}],
startTime: 'startTime',
// the properties below are optional
segmentOverrides: [{
evaluationOrder: 123,
segment: 'segment',
weights: [{
groupName: 'groupName',
splitWeight: 123,
}],
}],
}],
// the properties below are optional
description: 'description',
executionStatus: {
status: 'status',
// the properties below are optional
desiredState: 'desiredState',
reason: 'reason',
},
metricMonitors: [{
entityIdKey: 'entityIdKey',
metricName: 'metricName',
valueKey: 'valueKey',
// the properties below are optional
eventPattern: 'eventPattern',
unitLabel: 'unitLabel',
}],
randomizationSalt: 'randomizationSalt',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
groups | IResolvable | IResolvable | Launch [] | An array of structures that contains the feature and variations that are to be used for the launch. |
name | string | The name for the launch. |
project | string | The name or ARN of the project that you want to create the launch in. |
scheduled | IResolvable | IResolvable | Step [] | An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch. |
description? | string | An optional description for the launch. |
execution | IResolvable | Execution | A structure that you can use to start and stop the launch. |
metric | IResolvable | IResolvable | Metric [] | An array of structures that define the metrics that will be used to monitor the launch performance. |
randomization | string | 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. |
tags? | Cfn [] | Assigns one or more tags (key-value pairs) to the launch. |
groups
Type:
IResolvable
|
IResolvable
|
Launch
[]
An array of structures that contains the feature and variations that are to be used for the launch.
You can up to five launch groups in a launch.
name
Type:
string
The name for the launch.
It can include up to 127 characters.
project
Type:
string
The name or ARN of the project that you want to create the launch in.
scheduledSplitsConfig
Type:
IResolvable
|
IResolvable
|
Step
[]
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
description?
Type:
string
(optional)
An optional description for the launch.
executionStatus?
Type:
IResolvable
|
Execution
(optional)
A structure that you can use to start and stop the launch.
metricMonitors?
Type:
IResolvable
|
IResolvable
|
Metric
[]
(optional)
An array of structures that define the metrics that will be used to monitor the launch performance.
You can have up to three metric monitors in the array.
randomizationSalt?
Type:
string
(optional)
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.
This randomization ID is a combination of the entity ID and randomizationSalt
. If you omit randomizationSalt
, Evidently uses the launch name as the randomizationsSalt
.
tags?
Type:
Cfn
[]
(optional)
Assigns one or more tags (key-value pairs) to the launch.
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 .