AWS::Events::Rule RunCommandParameters - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon 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