RunCommandTarget
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.
Contents
- Key
-
Can be either
tag:tag-key orInstanceIds.Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Pattern:
^[\p{L}\p{Z}\p{N}_.:/=+\-@]*$Required: Yes
- Values
-
If
Keyistag:tag-key,Valuesis a list of tag values. IfKeyisInstanceIds,Valuesis a list of Amazon EC2 instance IDs.Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 50 items.
Length Constraints: Minimum length of 1. Maximum length of 256.
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: