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, ... ]}
YAML
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: List of RunCommandTarget
Maximum:
5Update requires: No interruption