Skip to main content


No description

type AWSECSTask {
attachments: [AWSECSAttachment!]!
attributes: [AWSECSAttribute!]!
availabilityZone: String!
capacityProviderName: String!
clusterArn: String!
connectivity: AWSECSTaskConnectivityType!
connectivityAt: DateTime
containerInstanceArn: String!
containers: [AWSECSContainer!]!
cpu: Int!
createdAt: DateTime
desiredStatus: String!
enableExecuteCommand: Boolean!
ephemeralStorage: AWSECSEphemeralStorage
executionStoppedAt: DateTime
group: String!
healthStatus: AWSECSHealthStatusType!
inferenceAccelerators: [AWSECSTaskInferenceAccelerator!]!
lastStatus: String!
launchType: AWSECSTaskLaunchType!
memory: Int!
overrides: AWSECSTaskOverride
platformFamily: String!
platformVersion: String!
pullStartedAt: DateTime
pullStoppedAt: DateTime
startedAt: DateTime
startedBy: String!
stopCode: AWSECSTaskStopCodeType!
stoppedAt: DateTime
stoppedReason: String!
stoppingAt: DateTime
tags: [AWSTag!]!
arn: String!
definition: AWSECSTaskDefinition
version: Int64!


AWSECSTask.attachments ● [AWSECSAttachment!]! non-null object

The Elastic Network Adapter that's associated with the task if the task uses the awsvpc network mode

AWSECSTask.attributes ● [AWSECSAttribute!]! non-null object

The attributes of the task

AWSECSTask.availabilityZone ● String! non-null scalar

The Availability Zone for the task

AWSECSTask.capacityProviderName ● String! non-null scalar

The capacity provider that's associated with the task

AWSECSTask.clusterArn ● String! non-null scalar

The ARN of the cluster that hosts the task

AWSECSTask.connectivity ● AWSECSTaskConnectivityType! non-null enum

The connectivity status of a task

AWSECSTask.connectivityAt ● DateTime scalar

The time when the task last went into CONNECTED status

AWSECSTask.containerInstanceArn ● String! non-null scalar

The ARN of the container instances that host the task

AWSECSTask.containers ● [AWSECSContainer!]! non-null object

The containers that's associated with the task

AWSECSTask.cpu ● Int! non-null scalar

The number of CPU units used by the task as expressed in a task definition

AWSECSTask.createdAt ● DateTime scalar

The time when the task was created

AWSECSTask.desiredStatus ● String! non-null scalar

The desired status of the task. For more information, see Task Lifecycle (

AWSECSTask.enableExecuteCommand ● Boolean! non-null scalar

Indicates whether execute command functionality is turned on for this task

AWSECSTask.ephemeralStorage ● AWSECSEphemeralStorage object

The ephemeral storage settings for the task

AWSECSTask.executionStoppedAt ● DateTime scalar

The time when the task execution stopped ● String! non-null scalar

The name of the task group associated with the task

AWSECSTask.healthStatus ● AWSECSHealthStatusType! non-null enum

The health status for the task

AWSECSTask.inferenceAccelerators ● [AWSECSTaskInferenceAccelerator!]! non-null object

The Elastic Inference accelerator that's associated with the task

AWSECSTask.lastStatus ● String! non-null scalar

The last known status for the task

AWSECSTask.launchType ● AWSECSTaskLaunchType! non-null enum

The infrastructure where your task runs on. For more information, see Amazon ECS launch types ( in the Amazon Elastic Container Service Developer Guide.

AWSECSTask.memory ● Int! non-null scalar

The amount of memory (in MiB) that the task uses as expressed in a task definition

AWSECSTask.overrides ● AWSECSTaskOverride object

One or more container overrides.

AWSECSTask.platformFamily ● String! non-null scalar

The operating system that your tasks are running on

AWSECSTask.platformVersion ● String! non-null scalar

The platform version where your task runs on

AWSECSTask.pullStartedAt ● DateTime scalar

The time when the container image pull began

AWSECSTask.pullStoppedAt ● DateTime scalar

The time when the container image pull completed

AWSECSTask.startedAt ● DateTime scalar

The time when the task started

AWSECSTask.startedBy ● String! non-null scalar

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.

AWSECSTask.stopCode ● AWSECSTaskStopCodeType! non-null enum

The reason that the task was stopped

AWSECSTask.stoppedAt ● DateTime scalar

The time when the task stopped

AWSECSTask.stoppedReason ● String! non-null scalar

The reason that the task was stopped

AWSECSTask.stoppingAt ● DateTime scalar

The time when the task stops

AWSECSTask.tags ● [AWSTag!]! non-null object

The metadata that you apply to the task to help you categorize and organize the task

AWSECSTask.arn ● String! non-null scalar

The Amazon Resource Name (ARN) of the task

AWSECSTask.definition ● AWSECSTaskDefinition object

The task definition that creates the task

AWSECSTask.version ● Int64! non-null scalar

The version counter for the task. Every time a task experiences a change that starts a CloudWatch event, the version counter is incremented

Member of

AWSECSService object