AWS::Events::Rule RunCommandTarget - AWS CloudFormation (original) (raw)
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:
JSON
{
"Key" : String,
"Values" : [ String, ... ]
}
YAML
Key: String
Values:
- String
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 is tag:tag-key, Values is a list of tag values. If Key is InstanceIds, Values is a list of Amazon EC2 instance IDs.
Required: Yes
Type: Array of String
Minimum: 1
Maximum: 50
Update requires: No interruption
RunCommandParameters
SageMakerPipelineParameter
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.