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 /AWS1/FISCLIENTTOKEN

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

IV_DESCRIPTION TYPE /AWS1/FISEXPERIMENTTMPLDESC /AWS1/FISEXPERIMENTTMPLDESC

A description for the experiment template.

IT_STOPCONDITIONS TYPE /AWS1/CL_FISCREEXPERIMENTTMP01=>TT_CREEXPERIMENTTMPLSTOPCOND00 TT_CREEXPERIMENTTMPLSTOPCOND00

The stop conditions.

IT_ACTIONS TYPE /AWS1/CL_FISCREEXPERIMENTTMP03=>TT_CREEXPERIMENTTMPLACTINPMAP TT_CREEXPERIMENTTMPLACTINPMAP

The actions for the experiment.

IV_ROLEARN TYPE /AWS1/FISROLEARN /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 /AWS1/CL_FISCREEXPERIMENTTMP02=>TT_CREEXPERIMENTTMPLTGTINPMAP TT_CREEXPERIMENTTMPLTGTINPMAP

The targets for the experiment.

IT_TAGS TYPE /AWS1/CL_FISTAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags to apply to the experiment template.

IO_LOGCONFIGURATION TYPE REF TO /AWS1/CL_FISCREEXPERIMENTTMP04 /AWS1/CL_FISCREEXPERIMENTTMP04

The configuration for experiment logging.

IO_EXPERIMENTOPTIONS TYPE REF TO /AWS1/CL_FISCREEXPERIMENTTMP06 /AWS1/CL_FISCREEXPERIMENTTMP06

The experiment options for the experiment template.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FISCREEXPERIMENTTMP05 /AWS1/CL_FISCREEXPERIMENTTMP05