class CfnLaunchPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Evidently.Mixins.CfnLaunchPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsevidently/mixins#CfnLaunchPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.evidently.mixins.CfnLaunchPropsMixin |
Python | aws_cdk.mixins_preview.aws_evidently.mixins.CfnLaunchPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_evidently » mixins » CfnLaunchPropsMixin |
Implements
IMixin
Extends
Mixin
Creates or updates a launch of a given feature.
Before you create a launch, you must create the feature to use for the launch.
You can use a launch to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to more users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.
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 { mixins } from '@aws-cdk/mixins-preview';
import { mixins as evidently_mixins } from '@aws-cdk/mixins-preview/aws-evidently';
const cfnLaunchPropsMixin = new evidently_mixins.CfnLaunchPropsMixin({
description: 'description',
executionStatus: {
desiredState: 'desiredState',
reason: 'reason',
status: 'status',
},
groups: [{
description: 'description',
feature: 'feature',
groupName: 'groupName',
variation: 'variation',
}],
metricMonitors: [{
entityIdKey: 'entityIdKey',
eventPattern: 'eventPattern',
metricName: 'metricName',
unitLabel: 'unitLabel',
valueKey: 'valueKey',
}],
name: 'name',
project: 'project',
randomizationSalt: 'randomizationSalt',
scheduledSplitsConfig: [{
groupWeights: [{
groupName: 'groupName',
splitWeight: 123,
}],
segmentOverrides: [{
evaluationOrder: 123,
segment: 'segment',
weights: [{
groupName: 'groupName',
splitWeight: 123,
}],
}],
startTime: 'startTime',
}],
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnLaunchPropsMixin(props: CfnLaunchMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Launch Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Evidently::Launch.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript