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

Amazon CloudWatch Events Rule RunCommandParameters

The RunCommandParameters property type specifies the parameters to use when an Amazon CloudWatch Events rule invokes the AWS Systems Manager Run Command.

RunCommandParameters is a property of the 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 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 RunCommandTarget

Update requires: No interruption

On this page: