Amazon ECS Task Definition

An Amazon ECS Task Definition is a blueprint that describes how containers should run on ECS. It defines container images, CPU and memory needs, networking, storage, environment variables, and IAM roles. It serves as the core configuration used to launch tasks and services consistently across a cluster.

aws.ecs_daemon_task_definition

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
container_definitionscorejsonA list of container definitions in JSON format that describe the containers that make up the daemon task.
cpucorestringThe number of CPU units used by the daemon task.
daemon_task_definition_arncorestringThe full Amazon Resource Name (ARN) of the daemon task definition.
delete_requested_atcoretimestampThe Unix timestamp for the time when the daemon task definition delete was requested.
execution_role_arncorestringThe Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf.
familycorestringThe name of a family that this daemon task definition is registered to.
memorycorestringThe amount of memory (in MiB) used by the daemon task.
registered_atcoretimestampThe Unix timestamp for the time when the daemon task definition was registered.
registered_bycorestringThe principal that registered the daemon task definition.
revisioncoreint64The revision of the daemon task in a particular family. The revision is a version number of a daemon task definition in a family. When you register a daemon task definition for the first time, the revision is 1. Each time that you register a new revision of a daemon task definition in the same family, the revision value always increases by one.
statuscorestringThe status of the daemon task definition. The valid values are ACTIVE, DELETE_IN_PROGRESS, and DELETED.
tagscorehstore_csv
task_role_arncorestringThe short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf.
volumescorejsonThe list of data volume definitions for the daemon task.