Amazon ECS · Schema
TaskDefinition
The details of a task definition which describes the container and volume definitions of an Amazon ECS task.
AmazonAwsContainersDockerEcsOrchestration
Properties
| Name | Type | Description |
|---|---|---|
| taskDefinitionArn | string | The full ARN of the task definition. |
| containerDefinitions | array | |
| family | string | The family of your task definition. |
| taskRoleArn | string | |
| executionRoleArn | string | |
| networkMode | string | |
| revision | integer | The revision of the task in a particular family. |
| volumes | array | |
| status | string | |
| requiresAttributes | array | |
| placementConstraints | array | |
| compatibilities | array | |
| requiresCompatibilities | array | |
| cpu | string | |
| memory | string | |
| pidMode | string | |
| ipcMode | string | |
| inferenceAccelerators | array | |
| registeredAt | number | Unix timestamp for when the task definition was registered. |
| deregisteredAt | number | Unix timestamp for when the task definition was deregistered. |
| registeredBy | string | |
| enableFaultInjection | boolean | |
| tags | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "TaskDefinition",
"type": "object",
"description": "The details of a task definition which describes the container and volume definitions of an Amazon ECS task.",
"properties": {
"taskDefinitionArn": {
"type": "string",
"description": "The full ARN of the task definition."
},
"containerDefinitions": {
"type": "array"
},
"family": {
"type": "string",
"description": "The family of your task definition."
},
"taskRoleArn": {
"type": "string"
},
"executionRoleArn": {
"type": "string"
},
"networkMode": {
"type": "string"
},
"revision": {
"type": "integer",
"description": "The revision of the task in a particular family."
},
"volumes": {
"type": "array"
},
"status": {
"type": "string"
},
"requiresAttributes": {
"type": "array"
},
"placementConstraints": {
"type": "array"
},
"compatibilities": {
"type": "array"
},
"requiresCompatibilities": {
"type": "array"
},
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
},
"pidMode": {
"type": "string"
},
"ipcMode": {
"type": "string"
},
"inferenceAccelerators": {
"type": "array"
},
"registeredAt": {
"type": "number",
"description": "Unix timestamp for when the task definition was registered."
},
"deregisteredAt": {
"type": "number",
"description": "Unix timestamp for when the task definition was deregistered."
},
"registeredBy": {
"type": "string"
},
"enableFaultInjection": {
"type": "boolean"
},
"tags": {
"type": "array"
}
}
}