NAME

Paws::FIS::CreateExperimentTemplateTargetInput

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::FIS::CreateExperimentTemplateTargetInput object:

  $service_obj->Method(Att1 => { Filters => $value, ..., SelectionMode => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::FIS::CreateExperimentTemplateTargetInput object:

  $result = $service_obj->Method(...);
  $result->Att1->Filters

DESCRIPTION

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.

ATTRIBUTES

Filters => ArrayRef[Paws::FIS::ExperimentTemplateTargetInputFilter]

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

ResourceArns => ArrayRef[Str|Undef]

The Amazon Resource Names (ARNs) of the resources.

ResourceTags => Paws::FIS::TagMap

The tags for the target resources.

REQUIRED ResourceType => Str

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

REQUIRED SelectionMode => Str

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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::FIS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues