Amazon CloudWatch Events Rule EcsParameters
The
EcsParameters property type specifies information about an Amazon Elastic Container Service (Amazon
ECS) task target.
EcsParameters is a property of the Target property type.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "TaskCount" :Integer, "TaskDefinitionArn" :String}
YAML
TaskCount:IntegerTaskDefinitionArn:String
Properties
For more information, including constraints and valid values, see EcsParameters in the Amazon CloudWatch Events API Reference.
TaskCount-
The number of tasks to create based on the task definition. The default is
1.Required: No
Type: Integer
Update requires: No interruption
TaskDefinitionArn-
The Amazon Resource Name (ARN) of the task definition to use.
Required: Yes
Type: String
Update requires: No interruption
