![]() |
![]()
| ![]() |
![]()
NAMEPaws::SSM::Target USAGEThis 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 DESCRIPTIONAn array of search criteria that targets instances using a Key,Value combination that you specify. One or more targets must be specified for maintenance window Run Command-type tasks. Depending on the task, targets are optional for other maintenance window task types (Automation, AWS Lambda, and AWS Step Functions). For more information about running tasks that do not specify targets, see Registering maintenance window tasks without targets (https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html) in the AWS Systems Manager User Guide. Supported formats include the following.
For example:
For more information about how to send commands that target instances using "Key,Value" parameters, see Targeting multiple instances (https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting) in the AWS Systems Manager User Guide. ATTRIBUTESKey => StrUser-defined criteria for sending commands that target instances that meet the criteria. Values => ArrayRef[Str|Undef]User-defined criteria that maps to "Key". For example, if you specified "tag:ServerRole", you could specify "value:WebServer" to run a command on instances that include EC2 tags of "ServerRole,WebServer". Depending on the type of "Target", the maximum number of values for a "Key" might be lower than the global maximum of 50. SEE ALSOThis class forms part of Paws, describing an object used in Paws::SSM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|