This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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 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:
1Maximum:
128Update requires: No interruption
Values-
If
Keyistag:tag-key,Valuesis a list of tag values. IfKeyisInstanceIds,Valuesis a list of Amazon EC2 instance IDs.Required: Yes
Type: Array of String
Minimum:
1Maximum:
50Update requires: No interruption