NAME
Paws::CloudWatchEvents::RunCommandTarget
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::CloudWatchEvents::RunCommandTarget 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::CloudWatchEvents::RunCommandTarget object:
$result = $service_obj->Method(...);
$result->Att1->Key
DESCRIPTION
Information about the EC2 instances that are to be sent the command, specified as key-value pairs. Each RunCommandTarget
block can include only one key, but this key may specify multiple values.
ATTRIBUTES
REQUIRED Key => Str
Can be either tag:
tag-key or InstanceIds
.
REQUIRED Values => ArrayRef[Str|Undef]
If Key
is tag:
tag-key, Values
is a list of tag values. If Key
is InstanceIds
, Values
is a list of Amazon EC2 instance IDs.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::CloudWatchEvents
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