Event Target Ecs Target Args
Constructors
Properties
The capacity provider strategy to use for the task. If a capacity_provider_strategy
specified, the launch_type
parameter must be omitted. If no capacity_provider_strategy
or launch_type
is specified, the default capacity provider strategy for the cluster is used. Can be one or more. See below.
Specifies whether to enable Amazon ECS managed tags for the task.
Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.
Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: EC2
, EXTERNAL
, or FARGATE
.
Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if launch_type
is FARGATE
because the awsvpc mode is required for Fargate tasks.
An array of placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.
An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below.
Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0
. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see AWS Fargate Platform Versions.
Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. The only valid value is: TASK_DEFINITION
.
The ARN of the task definition to use if the event target is an Amazon ECS cluster.