aws-cdk-lib.aws_fis.CfnExperimentTemplate.ExperimentTemplateActionProperty

interface ExperimentTemplateActionProperty

LanguageType name
.NETAmazon.CDK.AWS.FIS.CfnExperimentTemplate.ExperimentTemplateActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsfis#CfnExperimentTemplate_ExperimentTemplateActionProperty
Javasoftware.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateActionProperty
Pythonaws_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 Simulator 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

NameTypeDescription
actionIdstringThe ID of the action.
description?stringA description for the action.
parameters?IResolvable | { [string]: string }The parameters for the action, if applicable.
startAfter?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.