interface CfnExperimentTemplateProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.FIS.CfnExperimentTemplateProps |
Java | software.amazon.awscdk.services.fis.CfnExperimentTemplateProps |
Python | aws_cdk.aws_fis.CfnExperimentTemplateProps |
TypeScript | @aws-cdk/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 * as fis from '@aws-cdk/aws-fis';
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',
}],
tags: {
tagsKey: 'tags',
},
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',
},
},
},
logConfiguration: {
logSchemaVersion: 123,
// the properties below are optional
cloudWatchLogsConfiguration: cloudWatchLogsConfiguration,
s3Configuration: s3Configuration,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| description | string | A description for the experiment template. |
| role | string | The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. |
| stop | IResolvable | Experiment | IResolvable[] | The stop conditions. |
| tags | { [string]: string } | The tags to apply to the experiment template. |
| targets | IResolvable | { [string]: IResolvable | Experiment } | The targets for the experiment. |
| actions? | IResolvable | { [string]: IResolvable | Experiment } | The actions for the experiment. |
| log | IResolvable | Experiment | The configuration for experiment logging. |
description
Type:
string
A description for the experiment template.
roleArn
Type:
string
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
stopConditions
Type:
IResolvable | Experiment | IResolvable[]
The stop conditions.
tags
Type:
{ [string]: string }
The tags to apply to the experiment template.
targets
Type:
IResolvable | { [string]: IResolvable | Experiment }
The targets for the experiment.
actions?
Type:
IResolvable | { [string]: IResolvable | Experiment }
(optional)
The actions for the experiment.
logConfiguration?
Type:
IResolvable | Experiment
(optional)
The configuration for experiment logging.

.NET
Java
Python
TypeScript