interface ExperimentTemplateActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FIS.CfnExperimentTemplate.ExperimentTemplateActionProperty |
Java | software.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateActionProperty |
Python | aws_cdk.aws_fis.CfnExperimentTemplate.ExperimentTemplateActionProperty |
TypeScript | @aws-cdk/aws-fis » CfnExperimentTemplate » ExperimentTemplateActionProperty |
Specifies an action for an experiment template.
For more information, see Actions in the AWS Fault Injection Simulator User Guide .
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';
const experimentTemplateActionProperty: fis.CfnExperimentTemplate.ExperimentTemplateActionProperty = {
actionId: 'actionId',
// the properties below are optional
description: 'description',
parameters: {
parametersKey: 'parameters',
},
startAfter: ['startAfter'],
targets: {
targetsKey: 'targets',
},
};
Properties
Name | Type | Description |
---|---|---|
action | string | The ID of the action. |
description? | string | A description for the action. |
parameters? | IResolvable | { [string]: string } | The parameters for the action, if applicable. |
start | string[] | The name of the action that must be completed before the current action starts. |
targets? | IResolvable | { [string]: string } | The targets for the action. |
actionId
Type:
string
The ID of the action.
The format of the action ID is: aws: service-name : action-type .
description?
Type:
string
(optional)
A description for the action.
parameters?
Type:
IResolvable
| { [string]: string }
(optional)
The parameters for the action, if applicable.
startAfter?
Type:
string[]
(optional)
The name of the action that must be completed before the current action starts.
Omit this parameter to run the action at the start of the experiment.
targets?
Type:
IResolvable
| { [string]: string }
(optional)
The targets for the action.