AWS::Events::Rule RunCommandParameters - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Events::Rule RunCommandParameters

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

Syntax

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

JSON

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

Properties

RunCommandTargets

Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.

Required: Yes

Type: Array of RunCommandTarget

Minimum: 1

Maximum: 5

Update requires: No interruption