interface CfnExperimentTemplateProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.FIS.CfnExperimentTemplateProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsfis#CfnExperimentTemplateProps |
![]() | software.amazon.awscdk.services.fis.CfnExperimentTemplateProps |
![]() | aws_cdk.aws_fis.CfnExperimentTemplateProps |
![]() | aws-cdk-lib » aws_fis » CfnExperimentTemplateProps |
Properties for defining a CfnExperimentTemplate
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fis as fis } from 'aws-cdk-lib';
declare const cloudWatchLogsConfiguration: any;
declare const s3Configuration: any;
const cfnExperimentTemplateProps: fis.CfnExperimentTemplateProps = {
description: 'description',
roleArn: 'roleArn',
stopConditions: [{
source: 'source',
// the properties below are optional
value: 'value',
}],
targets: {
targetsKey: {
resourceType: 'resourceType',
selectionMode: 'selectionMode',
// the properties below are optional
filters: [{
path: 'path',
values: ['values'],
}],
parameters: {
parametersKey: 'parameters',
},
resourceArns: ['resourceArns'],
resourceTags: {
resourceTagsKey: 'resourceTags',
},
},
},
// the properties below are optional
actions: {
actionsKey: {
actionId: 'actionId',
// the properties below are optional
description: 'description',
parameters: {
parametersKey: 'parameters',
},
startAfter: ['startAfter'],
targets: {
targetsKey: 'targets',
},
},
},
experimentOptions: {
accountTargeting: 'accountTargeting',
emptyTargetResolutionMode: 'emptyTargetResolutionMode',
},
experimentReportConfiguration: {
outputs: {
experimentReportS3Configuration: {
bucketName: 'bucketName',
// the properties below are optional
prefix: 'prefix',
},
},
// the properties below are optional
dataSources: {
cloudWatchDashboards: [{
dashboardIdentifier: 'dashboardIdentifier',
}],
},
postExperimentDuration: 'postExperimentDuration',
preExperimentDuration: 'preExperimentDuration',
},
logConfiguration: {
logSchemaVersion: 123,
// the properties below are optional
cloudWatchLogsConfiguration: cloudWatchLogsConfiguration,
s3Configuration: s3Configuration,
},
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
description | string | The description for the experiment template. |
role | string | The Amazon Resource Name (ARN) of an IAM role. |
stop | IResolvable | IResolvable | Experiment [] | The stop conditions for the experiment. |
targets | IResolvable | { [string]: IResolvable | Experiment } | The targets for the experiment. |
actions? | IResolvable | { [string]: IResolvable | Experiment } | The actions for the experiment. |
experiment | IResolvable | Experiment | The experiment options for an experiment template. |
experiment | IResolvable | Experiment | Describes the report configuration for the experiment template. |
log | IResolvable | Experiment | The configuration for experiment logging. |
tags? | { [string]: string } | The tags for the experiment template. |
description
Type:
string
The description for the experiment template.
roleArn
Type:
string
The Amazon Resource Name (ARN) of an IAM role.
stopConditions
Type:
IResolvable
|
IResolvable
|
Experiment
[]
The stop conditions for the experiment.
targets
Type:
IResolvable
| { [string]:
IResolvable
|
Experiment
}
The targets for the experiment.
actions?
Type:
IResolvable
| { [string]:
IResolvable
|
Experiment
}
(optional)
The actions for the experiment.
experimentOptions?
Type:
IResolvable
|
Experiment
(optional)
The experiment options for an experiment template.
experimentReportConfiguration?
Type:
IResolvable
|
Experiment
(optional)
Describes the report configuration for the experiment template.
logConfiguration?
Type:
IResolvable
|
Experiment
(optional)
The configuration for experiment logging.
tags?
Type:
{ [string]: string }
(optional)
The tags for the experiment template.