aws fis create-experiment-template
Creates an experiment template. To create a template, specify the following information: Targets: A target can be a specific resource in your AWS 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 the AWS Fault Injection Simulator User Guide
Options
Name | Description |
---|---|
--client-token <string> | Unique, case-sensitive identifier that you provide to ensure the idempotency of the request |
--description <string> | A description for the experiment template. Can contain up to 64 letters (A-Z and a-z) |
--stop-conditions <list> | The stop conditions |
--targets <map> | The targets for the experiment |
--actions <map> | The actions for the experiment |
--role-arn <string> | The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf |
--tags <map> | The tags to apply to the experiment template |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |