Values.CreateExperimentTemplateRequestSourceCreates 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.
type nonrec t = {clientToken : ClientToken.t;Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*)description : ExperimentTemplateDescription.t;A description for the experiment template.
*)stopConditions : CreateExperimentTemplateStopConditionInputList.t;The stop conditions.
*)targets : CreateExperimentTemplateTargetInputMap.t option;The targets for the experiment.
*)actions : CreateExperimentTemplateActionInputMap.t;The actions for the experiment.
*)roleArn : RoleArn.t;The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
*)logConfiguration : CreateExperimentTemplateLogConfigurationInput.t option;The configuration for experiment logging.
*)experimentOptions : CreateExperimentTemplateExperimentOptionsInput.t option;The experiment options for the experiment template.
*)experimentReportConfiguration : CreateExperimentTemplateReportConfigurationInput.t
option;The experiment report configuration for the experiment template.
*)}val make :
?targets:??? ->
?tags:??? ->
?logConfiguration:??? ->
?experimentOptions:??? ->
?experimentReportConfiguration:??? ->
clientToken:ClientToken.t ->
description:ExperimentTemplateDescription.t ->
stopConditions:CreateExperimentTemplateStopConditionInputList.t ->
actions:CreateExperimentTemplateActionInputMap.t ->
roleArn:RoleArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of StopConditionSource.t ]) list ]
list
| `Map of
([> `String of ExperimentTemplateTargetName.t ]
* [> `String of TagValue.t
| `Structure of
(string
* [> `List of
[> `String of ResourceArn.t
| `Structure of
(string
* [> `List of
[> `String of
ExperimentTemplateTargetFilterValue.t ]
list
| `String of ExperimentTemplateTargetFilterPath.t ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ])
list
| `String of TargetResourceTypeId.t ])
list ])
list
| `String of ClientToken.t
| `Structure of
(string
* [> `Enum of string
| `Integer of LogSchemaVersion.t
| `String of ReportConfigurationDuration.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `String of
ReportConfigurationCloudWatchDashboardIdentifier.t ])
list ]
list
| `String of CloudWatchLogGroupArn.t
| `Structure of
(string * [> `String of S3BucketName.t ]) list ])
list ])
list ])
list ]