Module Values.CreateExperimentTemplateTargetInputSource

Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both ARNs and tags. For more information, see Targets in the Fault Injection Service User Guide.

Sourcetype nonrec t = {
  1. resourceType : TargetResourceTypeId.t;
    (*

    The resource type. The resource type must be supported for the specified action.

    *)
  2. resourceArns : ResourceArnList.t option;
    (*

    The Amazon Resource Names (ARNs) of the resources.

    *)
  3. resourceTags : TagMap.t option;
    (*

    The tags for the target resources.

    *)
  4. filters : ExperimentTemplateTargetFilterInputList.t option;
    (*

    The filters to apply to identify target resources using specific attributes.

    *)
  5. selectionMode : ExperimentTemplateTargetSelectionMode.t;
    (*

    Scopes the identified resources to a specific count of the resources at random, or a percentage of the resources. All identified resources are included in the target. ALL - Run the action on all identified targets. This is the default. COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random. For example, COUNT(1) selects one of the targets. PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at random. For example, PERCENT(25) selects 25% of the targets.

    *)
  6. parameters : ExperimentTemplateTargetParameterMap.t option;
    (*

    The resource type parameters.

    *)
}
Sourceval context_ : string
Sourceval make : ?resourceArns:??? -> ?resourceTags:??? -> ?filters:??? -> ?parameters:??? -> resourceType:TargetResourceTypeId.t -> selectionMode:ExperimentTemplateTargetSelectionMode.t -> unit -> t
Sourceval to_value : 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 ]
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