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

Amazon CloudWatch Events Rule RunCommandParameters

The RunCommandParameters property type specifies parameters used when an Amazon CloudWatch Events rule invokes Amazon EC2 Systems Manager Run Command.

RunCommandParameters is a property of the CloudWatch Events Rule Target property type.


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


{ "RunCommandTargets" : [ RunCommandTarget, ... ] }


For more information, including constraints and valid values, see RunCommandParameters in the Amazon CloudWatch Events API Reference.


The criteria (either InstanceIds or a tag) that specifies which EC2 instances that the command is sent to.


Currently, you can include only one RunCommandTarget block, which specifies a list of InstanceIds or a tag.

Required: Yes

Type: List of CloudWatch Events Rule RunCommandTarget

Update requires: No interruption

On this page: