interface CfnExperimentRunProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppConfig.CfnExperimentRunProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#CfnExperimentRunProps |
Java | software.amazon.awscdk.services.appconfig.CfnExperimentRunProps |
Python | aws_cdk.aws_appconfig.CfnExperimentRunProps |
TypeScript | aws-cdk-lib » aws_appconfig » CfnExperimentRunProps |
Properties for defining a CfnExperimentRun.
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-lib';
const cfnExperimentRunProps: appconfig.CfnExperimentRunProps = {
applicationIdentifier: 'applicationIdentifier',
experimentDefinitionIdentifier: 'experimentDefinitionIdentifier',
exposurePercentage: 123,
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
treatmentOverrides: {
inline: {
inlineKey: 'inline',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| application | string | The application name or ID used to create the experiment run. |
| experiment | string | The experiment definition name or ID used to create the experiment run. |
| exposure | number | Percentage of traffic exposed to the experiment (0-100). |
| description? | string | Description of the experiment run. |
| tags? | Cfn[] | Tags to associate with the experiment run. |
| treatment | IResolvable | Treatment | Treatment overrides for specific entities. |
applicationIdentifier
Type:
string
The application name or ID used to create the experiment run.
experimentDefinitionIdentifier
Type:
string
The experiment definition name or ID used to create the experiment run.
exposurePercentage
Type:
number
Percentage of traffic exposed to the experiment (0-100).
description?
Type:
string
(optional)
Description of the experiment run.
tags?
Type:
Cfn[]
(optional)
Tags to associate with the experiment run.
treatmentOverrides?
Type:
IResolvable | Treatment
(optional)
Treatment overrides for specific entities.

.NET
Go
Java
Python
TypeScript