AWS::Events::Rule RunCommandParameters - AWS CloudFormation

AWS::Events::Rule RunCommandParameters

The RunCommandParameters property type specifies the parameters to use when a rule invokes the AWS Systems Manager Run Command.

RunCommandParameters is a property of the Target property type.

This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command.


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


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



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

Maximum: 5

Update requires: No interruption