- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
account_id
Type: STRING
attachments
Type: UNORDERED_LIST_STRUCT
Provider name: attachments
Description: The Elastic Network Adapter that’s associated with the task if the task uses the awsvpc
network mode.
details
UNORDERED_LIST_STRUCT
details
portName
, clientAliases
, discoveryName
, and ingressPortOverride
. For Elastic Block Storage, this includes roleArn
, deleteOnTermination
, volumeName
, volumeId
, and statusReason
(only when the attachment fails to create or attach).name
STRING
name
value
STRING
value
id
STRING
id
status
STRING
status
PRECREATED
, CREATED
, ATTACHING
, ATTACHED
, DETACHING
, DETACHED
, DELETED
, and FAILED
.type
STRING
type
ElasticNetworkInterface
, Service Connect
, and AmazonElasticBlockStorage
.attributes
Type: UNORDERED_LIST_STRUCT
Provider name: attributes
Description: The attributes of the task
name
STRING
name
name
must contain between 1 and 128 characters. The name may contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), forward slashes (/), back slashes (), or periods (.).target_id
STRING
targetId
target_type
STRING
targetType
value
STRING
value
value
must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (), colons (:), or spaces. The value can’t start or end with a space.availability_zone
Type: STRING
Provider name: availabilityZone
Description: The Availability Zone for the task.
capacity_provider_name
Type: STRING
Provider name: capacityProviderName
Description: The capacity provider that’s associated with the task.
cluster_arn
Type: STRING
Provider name: clusterArn
Description: The ARN of the cluster that hosts the task.
connectivity
Type: STRING
Provider name: connectivity
Description: The connectivity status of a task.
connectivity_at
Type: TIMESTAMP
Provider name: connectivityAt
Description: The Unix timestamp for the time when the task last went into CONNECTED
status.
container_instance_arn
Type: STRING
Provider name: containerInstanceArn
Description: The ARN of the container instances that host the task.
containers
Type: UNORDERED_LIST_STRUCT
Provider name: containers
Description: The containers that’s associated with the task.
container_arn
STRING
containerArn
cpu
STRING
cpu
0
if no value was specified in the container definition when the task definition was registered.exit_code
INT32
exitCode
gpu_ids
UNORDERED_LIST_STRING
gpuIds
health_status
STRING
healthStatus
UNKNOWN
.image
STRING
image
image_digest
STRING
imageDigest
last_status
STRING
lastStatus
managed_agents
UNORDERED_LIST_STRUCT
managedAgents
last_started_at
TIMESTAMP
lastStartedAt
last_status
STRING
lastStatus
name
STRING
name
ExecuteCommandAgent
.reason
STRING
reason
memory
STRING
memory
memory_reservation
STRING
memoryReservation
name
STRING
name
network_bindings
UNORDERED_LIST_STRUCT
networkBindings
bind_ip
STRING
bindIP
container_port
INT32
containerPort
container_port_range
STRING
containerPortRange
containerPortRange
:bridge
network mode or the awsvpc
network mode.ecs-init
packagehostPortRange
. The value of the hostPortRange
is set as follows:awsvpc
network mode, the hostPortRange
is set to the same value as the containerPortRange
. This is a static mapping strategy.bridge
network mode, the Amazon ECS agent finds open host ports from the default ephemeral range and passes it to docker to bind them to the container ports.containerPortRange
valid values are between 1 and 65535.DescribeTasks
to view the hostPortRange
which are the host ports that are bound to the container ports.host_port
INT32
hostPort
host_port_range
STRING
hostPortRange
protocol
STRING
protocol
network_interfaces
UNORDERED_LIST_STRUCT
networkInterfaces
attachment_id
STRING
attachmentId
ipv6_address
STRING
ipv6Address
private_ipv4_address
STRING
privateIpv4Address
reason
STRING
reason
runtime_id
STRING
runtimeId
task_arn
STRING
taskArn
cpu
Type: STRING
Provider name: cpu
Description: The number of CPU units used by the task as expressed in a task definition. It can be expressed as an integer using CPU units (for example, 1024
). It can also be expressed as a string using vCPUs (for example, 1 vCPU
or 1 vcpu
). String values are converted to an integer that indicates the CPU units when the task definition is registered. If you use the EC2 launch type, this field is optional. Supported values are between 128
CPU units (0.125
vCPUs) and 10240
CPU units (10
vCPUs). If you use the Fargate launch type, this field is required. You must use one of the following values. These values determine the range of supported values for the memory
parameter: The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.
memory
values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)memory
values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)memory
values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)memory
values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)memory
values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)memory
values: 16 GB and 60 GB in 4 GB increments This option requires Linux platform 1.4.0
or later.memory
values: 32GB and 120 GB in 8 GB increments This option requires Linux platform 1.4.0
or later.created_at
Type: TIMESTAMP
Provider name: createdAt
Description: The Unix timestamp for the time when the task was created. More specifically, it’s for the time when the task entered the PENDING
state.
desired_status
Type: STRING
Provider name: desiredStatus
Description: The desired status of the task. For more information, see Task Lifecycle.
enable_execute_command
Type: BOOLEAN
Provider name: enableExecuteCommand
Description: Determines whether execute command functionality is turned on for this task. If true
, execute command functionality is turned on all the containers in the task.
ephemeral_storage
Type: STRUCT
Provider name: ephemeralStorage
Description: The ephemeral storage settings for the task.
size_in_gib
INT32
sizeInGiB
20
GiB and the maximum supported value is 200
GiB.execution_stopped_at
Type: TIMESTAMP
Provider name: executionStoppedAt
Description: The Unix timestamp for the time when the task execution stopped.
fargate_ephemeral_storage
Type: STRUCT
Provider name: fargateEphemeralStorage
Description: The Fargate ephemeral storage settings for the task.
kms_key_id
STRING
kmsKeyId
size_in_gib
INT32
sizeInGiB
20
GiB and the maximum supported value is 200
GiB.group
Type: STRING
Provider name: group
Description: The name of the task group that’s associated with the task.
health_status
Type: STRING
Provider name: healthStatus
Description: The health status for the task. It’s determined by the health of the essential containers in the task. If all essential containers in the task are reporting as HEALTHY
, the task status also reports as HEALTHY
. If any essential containers in the task are reporting as UNHEALTHY
or UNKNOWN
, the task status also reports as UNHEALTHY
or UNKNOWN
.
inference_accelerators
Type: UNORDERED_LIST_STRUCT
Provider name: inferenceAccelerators
Description: The Elastic Inference accelerator that’s associated with the task.
device_name
STRING
deviceName
deviceName
must also be referenced in a container definition as a ResourceRequirement.device_type
STRING
deviceType
last_status
Type: STRING
Provider name: lastStatus
Description: The last known status for the task. For more information, see Task Lifecycle.
launch_type
Type: STRING
Provider name: launchType
Description: The infrastructure where your task runs on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
memory
Type: STRING
Provider name: memory
Description: The amount of memory (in MiB) that the task uses as expressed in a task definition. It can be expressed as an integer using MiB (for example, 1024
). If it’s expressed as a string using GB (for example, 1GB
or 1 GB
), it’s converted to an integer indicating the MiB when the task definition is registered. If you use the EC2 launch type, this field is optional. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines the range of supported values for the cpu
parameter.
cpu
values: 256 (.25 vCPU)cpu
values: 512 (.5 vCPU)cpu
values: 1024 (1 vCPU)cpu
values: 2048 (2 vCPU)cpu
values: 4096 (4 vCPU)cpu
values: 8192 (8 vCPU) This option requires Linux platform 1.4.0
or later.cpu
values: 16384 (16 vCPU) This option requires Linux platform 1.4.0
or later.overrides
Type: STRUCT
Provider name: overrides
Description: One or more container overrides.
container_overrides
UNORDERED_LIST_STRUCT
containerOverrides
command
UNORDERED_LIST_STRING
command
cpu
INT32
cpu
cpu
units reserved for the container, instead of the default value from the task definition. You must also specify a container name.environment
UNORDERED_LIST_STRUCT
environment
name
STRING
name
value
STRING
value
environment_files
UNORDERED_LIST_STRUCT
environmentFiles
type
STRING
type
s3
.value
STRING
value
memory
INT32
memory
memory_reservation
INT32
memoryReservation
name
STRING
name
resource_requirements
UNORDERED_LIST_STRUCT
resourceRequirements
type
STRING
type
value
STRING
value
GPU
, the value is the number of physical GPUs
the Amazon ECS container agent reserves for the container. The number of GPUs that’s reserved for all containers in a task can’t exceed the number of available GPUs on the container instance that the task is launched on. When the type is InferenceAccelerator
, the value
matches the deviceName
for an InferenceAccelerator specified in a task definition.cpu
STRING
cpu
ephemeral_storage
STRUCT
ephemeralStorage
1.4.0
or later.1.0.0
or later.size_in_gib
INT32
sizeInGiB
20
GiB and the maximum supported value is 200
GiB.execution_role_arn
STRING
executionRoleArn
inference_accelerator_overrides
UNORDERED_LIST_STRUCT
inferenceAcceleratorOverrides
device_name
STRING
deviceName
deviceName
specified in the task definition.device_type
STRING
deviceType
memory
STRING
memory
task_role_arn
STRING
taskRoleArn
platform_family
Type: STRING
Provider name: platformFamily
Description: The operating system that your tasks are running on. A platform family is specified only for tasks that use the Fargate launch type. All tasks that run as part of this service must use the same platformFamily
value as the service (for example, LINUX.
).
platform_version
Type: STRING
Provider name: platformVersion
Description: The platform version where your task runs on. A platform version is only specified for tasks that use the Fargate launch type. If you didn’t specify one, the LATEST
platform version is used. For more information, see Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.
pull_started_at
Type: TIMESTAMP
Provider name: pullStartedAt
Description: The Unix timestamp for the time when the container image pull began.
pull_stopped_at
Type: TIMESTAMP
Provider name: pullStoppedAt
Description: The Unix timestamp for the time when the container image pull completed.
started_at
Type: TIMESTAMP
Provider name: startedAt
Description: The Unix timestamp for the time when the task started. More specifically, it’s for the time when the task transitioned from the PENDING
state to the RUNNING
state.
started_by
Type: STRING
Provider name: startedBy
Description: The tag specified when a task is started. If an Amazon ECS service started the task, the startedBy
parameter contains the deployment ID of that service.
stop_code
Type: STRING
Provider name: stopCode
Description: The stop code indicating why a task was stopped. The stoppedReason
might contain additional details. For more information about stop code, see Stopped tasks error codes in the Amazon ECS Developer Guide.
stopped_at
Type: TIMESTAMP
Provider name: stoppedAt
Description: The Unix timestamp for the time when the task was stopped. More specifically, it’s for the time when the task transitioned from the RUNNING
state to the STOPPED
state.
stopped_reason
Type: STRING
Provider name: stoppedReason
Description: The reason that the task was stopped.
stopping_at
Type: TIMESTAMP
Provider name: stoppingAt
Description: The Unix timestamp for the time when the task stops. More specifically, it’s for the time when the task transitions from the RUNNING
state to STOPPING
.
tags
Type: UNORDERED_LIST_STRING
task_arn
Type: STRING
Provider name: taskArn
Description: The Amazon Resource Name (ARN) of the task.
task_definition_arn
Type: STRING
Provider name: taskDefinitionArn
Description: The ARN of the task definition that creates the task.
version
Type: INT64
Provider name: version
Description: The version counter for the task. Every time a task experiences a change that starts a CloudWatch event, the version counter is incremented. If you replicate your Amazon ECS task state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API actions with the version reported in CloudWatch Events for the task (inside the detail
object) to verify that the version in your event stream is current.