NAME

Paws::SSM::Target

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::SSM::Target object:

  $service_obj->Method(Att1 => { Key => $value, ..., Values => $value  });

Results returned from an API call

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

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

DESCRIPTION

An array of search criteria that targets instances using a Key,Value combination that you specify. Targets is required if you don't provide one or more instance IDs in the call.

ATTRIBUTES

Key => Str

  User-defined criteria for sending commands that target instances that
meet the criteria. Key can be tag:E<lt>Amazon EC2 tagE<gt> or
InstanceIds. For more information about how to send commands that
target instances using Key,Value parameters, see Targeting Multiple
Instances
(http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting)
in the I<AWS Systems Manager User Guide>.

Values => ArrayRef[Str|Undef]

  User-defined criteria that maps to Key. For example, if you specified
tag:ServerRole, you could specify value:WebServer to execute a command
on instances that include Amazon EC2 tags of ServerRole,WebServer. For
more information about how to send commands that target instances using
Key,Value parameters, see Sending Commands to a Fleet
(http://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html)
in the I<AWS Systems Manager User Guide>.

SEE ALSO

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

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