class Aws::FIS::Types::CreateExperimentTemplateTargetInput

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.

@note When making an API call, you may pass CreateExperimentTemplateTargetInput

data as a hash:

    {
      resource_type: "ResourceType", # required
      resource_arns: ["ResourceArn"],
      resource_tags: {
        "TagKey" => "TagValue",
      },
      filters: [
        {
          path: "ExperimentTemplateTargetFilterPath", # required
          values: ["ExperimentTemplateTargetFilterValue"], # required
        },
      ],
      selection_mode: "ExperimentTemplateTargetSelectionMode", # required
    }

@!attribute [rw] resource_type

The AWS resource type. The resource type must be supported for the
specified action.
@return [String]

@!attribute [rw] resource_arns

The Amazon Resource Names (ARNs) of the resources.
@return [Array<String>]

@!attribute [rw] resource_tags

The tags for the target resources.
@return [Hash<String,String>]

@!attribute [rw] filters

The filters to apply to identify target resources using specific
attributes.
@return [Array<Types::ExperimentTemplateTargetInputFilter>]

@!attribute [rw] selection_mode

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.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplateTargetInput AWS API Documentation

Constants

SENSITIVE