interface CfnExperimentDefinitionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppConfig.CfnExperimentDefinitionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappconfig#CfnExperimentDefinitionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.appconfig.CfnExperimentDefinitionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_appconfig.CfnExperimentDefinitionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appconfig » CfnExperimentDefinitionMixinProps |
Properties for CfnExperimentDefinitionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appconfig as appconfig } from '@aws-cdk/cfn-property-mixins';
const cfnExperimentDefinitionMixinProps: appconfig.CfnExperimentDefinitionMixinProps = {
applicationIdentifier: 'applicationIdentifier',
audienceDescription: 'audienceDescription',
audienceRule: 'audienceRule',
configurationProfileIdentifier: 'configurationProfileIdentifier',
control: {
attributeValues: {
attributeValuesKey: {
booleanValue: false,
numberArray: [123],
numberValue: 123,
stringArray: ['stringArray'],
stringValue: 'stringValue',
},
},
description: 'description',
enabled: false,
key: 'key',
weight: 123,
},
environmentIdentifier: 'environmentIdentifier',
flagKey: 'flagKey',
hypothesis: 'hypothesis',
launchCriteria: 'launchCriteria',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
treatments: [{
attributeValues: {
attributeValuesKey: {
booleanValue: false,
numberArray: [123],
numberValue: 123,
stringArray: ['stringArray'],
stringValue: 'stringValue',
},
},
description: 'description',
enabled: false,
key: 'key',
weight: 123,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| application | string | The application ID, name, or ARN. |
| audience | string | Human-readable description of the audience. |
| audience | string | Rule expression defining the experiment audience. |
| configuration | string | The configuration profile ID, name, or ARN. |
| control? | IResolvable | Treatment | A treatment variant with weight and flag value. |
| environment | string | The environment ID, name, or ARN. |
| flag | string | The key of the existing flag in the configuration profile to experiment on. |
| hypothesis? | string | The hypothesis of the experiment. |
| launch | string | Criteria for launching the experiment. |
| name? | string | A name for the experiment definition. |
| tags? | Cfn[] | Tags to associate with the experiment definition. |
| treatments? | IResolvable | (IResolvable | Treatment)[] | Treatment variants (1-5). |
applicationIdentifier?
Type:
string
(optional)
The application ID, name, or ARN.
audienceDescription?
Type:
string
(optional)
Human-readable description of the audience.
audienceRule?
Type:
string
(optional)
Rule expression defining the experiment audience.
configurationProfileIdentifier?
Type:
string
(optional)
The configuration profile ID, name, or ARN.
control?
Type:
IResolvable | Treatment
(optional)
A treatment variant with weight and flag value.
The Key is auto-generated by the service.
environmentIdentifier?
Type:
string
(optional)
The environment ID, name, or ARN.
flagKey?
Type:
string
(optional)
The key of the existing flag in the configuration profile to experiment on.
hypothesis?
Type:
string
(optional)
The hypothesis of the experiment.
launchCriteria?
Type:
string
(optional)
Criteria for launching the experiment.
name?
Type:
string
(optional)
A name for the experiment definition.
tags?
Type:
Cfn[]
(optional)
Tags to associate with the experiment definition.
treatments?
Type:
IResolvable | (IResolvable | Treatment)[]
(optional)
Treatment variants (1-5).

.NET
Go
Java
Python
TypeScript