AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon CloudWatch Events Rule RunCommandTarget

The RunCommandTarget property type specifies information about the Amazon EC2 instances that the Run Command is sent to. A RunCommandTarget block can include only one key, but the key can specify multiple values.

The RunCommandTargets property of the RunCommandParameters property type contains a list of RunCommandTarget property types.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "Key" : String, "Values" : [ String, ... ] }


Key: String Values: - String


For more information, including constraints, see RunCommandTarget in the Amazon CloudWatch Events API Reference.


The key, either tag: tag-key or InstanceIds.

Required: Yes

Type: String

Update requires: No interruption


A list of tag values or EC2 instance IDs.

Required: Yes

Type: List of String values

Update requires: No interruption

On this page: