Amazon ECS · Schema

RegisterTaskDefinitionRequest

AmazonAwsContainersDockerEcsOrchestration

Properties

Name Type Description
family string You must specify a family for a task definition. Up to 255 characters (uppercase and lowercase letters, numbers, underscores, and hyphens are allowed).
containerDefinitions array A list of container definitions that describe the containers that make up the task.
taskRoleArn string The short name or full ARN of the IAM role that containers in this task can assume.
executionRoleArn string The ARN of the task execution role that grants the ECS container agent permission to make API calls on your behalf.
networkMode string The Docker networking mode to use for the containers in the task.
volumes array A list of volume definitions for the task.
placementConstraints array
requiresCompatibilities array The task launch type compatibility requirement.
cpu string The number of CPU units used by the task. Required for Fargate launch type. Valid values: 256 (.25 vCPU) through 16384 (16 vCPU).
memory string The amount of memory (in MiB) used by the task. Required for Fargate launch type.
tags array
pidMode string The process namespace to use for the containers in the task.
ipcMode string The IPC resource namespace to use for the containers in the task.
inferenceAccelerators array
enableFaultInjection boolean Whether to enable fault injection for the task definition.
View JSON Schema on GitHub