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. C<Key> can be C<tag:E<lt>Amazon EC2 tagE<gt>> or
C<name:E<lt>Amazon EC2 instance IDE<gt>>. For example,
C<tag:ServerRole> or C<name:0123456789012345>. For more information
about how to send commands that target instances using C<Key>;C<Value>
parameters, see Executing a Command Using Amazon EC2 Run Command
(Linux) or Executing a Command Using Amazon EC2 Run Command (Windows).
Values => ArrayRef[Str|Undef]
User-defined criteria that maps to C<Key>. For example, if you
specified C<tag:ServerRole>, you could specify C<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 C<Key>;C<Value> parameters, see Executing a
Command Using Amazon EC2 Run Command (Linux) or Executing a Command
Using Amazon EC2 Run Command (Windows).
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