Skip to content

/AWS1/CL_FIS=>CREATEEXPERIMENTTEMPLATE()

About CreateExperimentTemplate

Creates an experiment template.

An experiment template includes the following components:

  • Targets: A target can be a specific resource in your Amazon Web Services environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags.

  • Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.

  • Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm.

For more information, see experiment templates in the Fault Injection Service User Guide.

Method Signature

IMPORTING

Required arguments:

IV_CLIENTTOKEN TYPE /AWS1/FISCLIENTTOKEN

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

IV_DESCRIPTION TYPE /AWS1/FISEXPERIMENTTMPLDESC

A description for the experiment template.

IT_STOPCONDITIONS TYPE TT_CREEXPERIMENTTMPLSTOPCOND00

The stop conditions.

IT_ACTIONS TYPE TT_CREEXPERIMENTTMPLACTINPMAP

The actions for the experiment.

IV_ROLEARN TYPE /AWS1/FISROLEARN

The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.

Optional arguments:

IT_TARGETS TYPE TT_CREEXPERIMENTTMPLTGTINPMAP

The targets for the experiment.

IT_TAGS TYPE TT_TAGMAP

The tags to apply to the experiment template.

IO_LOGCONFIGURATION TYPE REF TO /AWS1/CL_FISCREEXPERIMENTTMP04

The configuration for experiment logging.

IO_EXPERIMENTOPTIONS TYPE REF TO /AWS1/CL_FISCREEXPERIMENTTMP06

The experiment options for the experiment template.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FISCREEXPERIMENTTMP05