Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon CloudWatch Events Rule EcsParameters

The EcsParameters property type specifies information about an Amazon EC2 Container Service (Amazon ECS) task target.

EcsParameters is a property of the CloudWatch Events Rule Target property type.

Syntax

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

JSON

Copy
{ "TaskCount" : Integer, "TaskDefinitionArn" : String }

YAML

Copy
TaskCount: Integer TaskDefinitionArn: 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

On this page: