AWS::Events::Rule 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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Key
-
Can be either
tag:
tag-key orInstanceIds
.Required: Yes
Type: String
Pattern:
^[\p{L}\p{Z}\p{N}_.:/=+\-@]*$
Minimum:
1
Maximum:
128
Update requires: No interruption
Values
-
If
Key
istag:
tag-key,Values
is a list of tag values. IfKey
isInstanceIds
,Values
is a list of Amazon EC2 instance IDs.Required: Yes
Type: Array of String
Minimum:
1
Maximum:
50
Update requires: No interruption