interface ExperimentTemplateActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.FIS.CfnExperimentTemplate.ExperimentTemplateActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsfis#CfnExperimentTemplate_ExperimentTemplateActionProperty |
Java | software.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateActionProperty |
Python | aws_cdk.aws_fis.CfnExperimentTemplate.ExperimentTemplateActionProperty |
TypeScript | aws-cdk-lib » aws_fis » CfnExperimentTemplate » ExperimentTemplateActionProperty |
Specifies an action for an experiment template.
For more information, see Actions in the AWS Fault Injection Service User Guide .
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';
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. |
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.
description?
Type:
string
(optional)
A description for the action.
parameters?
Type:
IResolvable
| { [string]: string }
(optional)
The parameters for the action.
startAfter?
Type:
string[]
(optional)
The name of the action that must be completed before the current action starts.
targets?
Type:
IResolvable
| { [string]: string }
(optional)
The targets for the action.