Module Values.CreateExperimentTemplateRequestSource

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.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t;
    (*

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

    *)
  2. description : ExperimentTemplateDescription.t;
    (*

    A description for the experiment template.

    *)
  3. stopConditions : CreateExperimentTemplateStopConditionInputList.t;
    (*

    The stop conditions.

    *)
  4. targets : CreateExperimentTemplateTargetInputMap.t option;
    (*

    The targets for the experiment.

    *)
  5. actions : CreateExperimentTemplateActionInputMap.t;
    (*

    The actions for the experiment.

    *)
  6. 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.

    *)
  7. tags : TagMap.t option;
    (*

    The tags to apply to the experiment template.

    *)
  8. logConfiguration : CreateExperimentTemplateLogConfigurationInput.t option;
    (*

    The configuration for experiment logging.

    *)
  9. experimentOptions : CreateExperimentTemplateExperimentOptionsInput.t option;
    (*

    The experiment options for the experiment template.

    *)
  10. experimentReportConfiguration : CreateExperimentTemplateReportConfigurationInput.t option;
    (*

    The experiment report configuration for the experiment template.

    *)
}
Sourceval context_ : string
Sourceval make : ?targets:??? -> ?tags:??? -> ?logConfiguration:??? -> ?experimentOptions:??? -> ?experimentReportConfiguration:??? -> clientToken:ClientToken.t -> description:ExperimentTemplateDescription.t -> stopConditions:CreateExperimentTemplateStopConditionInputList.t -> actions:CreateExperimentTemplateActionInputMap.t -> roleArn:RoleArn.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t