GetTaskDefinitionResult

data class GetTaskDefinitionResult(val arn: String, val arnWithoutRevision: String, val containerDefinitions: String, val cpu: String, val enableFaultInjection: Boolean, val ephemeralStorages: List<GetTaskDefinitionEphemeralStorage>, val executionRoleArn: String, val family: String, val id: String, val inferenceAccelerators: List<GetTaskDefinitionInferenceAccelerator>, val ipcMode: String, val memory: String, val networkMode: String, val pidMode: String, val placementConstraints: List<GetTaskDefinitionPlacementConstraint>, val proxyConfigurations: List<GetTaskDefinitionProxyConfiguration>, val requiresCompatibilities: List<String>, val revision: Int, val runtimePlatforms: List<GetTaskDefinitionRuntimePlatform>, val status: String, val taskDefinition: String, val taskRoleArn: String, val volumes: List<GetTaskDefinitionVolume>)

A collection of values returned by getTaskDefinition.

Constructors

Link copied to clipboard
constructor(arn: String, arnWithoutRevision: String, containerDefinitions: String, cpu: String, enableFaultInjection: Boolean, ephemeralStorages: List<GetTaskDefinitionEphemeralStorage>, executionRoleArn: String, family: String, id: String, inferenceAccelerators: List<GetTaskDefinitionInferenceAccelerator>, ipcMode: String, memory: String, networkMode: String, pidMode: String, placementConstraints: List<GetTaskDefinitionPlacementConstraint>, proxyConfigurations: List<GetTaskDefinitionProxyConfiguration>, requiresCompatibilities: List<String>, revision: Int, runtimePlatforms: List<GetTaskDefinitionRuntimePlatform>, status: String, taskDefinition: String, taskRoleArn: String, volumes: List<GetTaskDefinitionVolume>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String

ARN of the task definition.

Link copied to clipboard

ARN of the Task Definition with the trailing revision removed. This may be useful for situations where the latest task definition is always desired. If a revision isn't specified, the latest ACTIVE revision is used. See the AWS documentation for details.

Link copied to clipboard

A list of valid container definitions provided as a single valid JSON document. Please note that you should only provide values that are part of the container definition document. For a detailed description of what parameters are available, see the Task Definition Parameters section from the official Developer Guide.

Link copied to clipboard
val cpu: String

Number of cpu units used by the task. If the requires_compatibilities is FARGATE this field is required.

Link copied to clipboard

Enables fault injection and allows for fault injection requests to be accepted from the task's containers. Default is false.

Link copied to clipboard

The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate. See Ephemeral Storage.

Link copied to clipboard

ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume.

Link copied to clipboard

A unique name for your task definition. The following arguments are optional:

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

Configuration block(s) with Inference Accelerators settings. Detailed below.

Link copied to clipboard

IPC resource namespace to be used for the containers in the task The valid values are host, task, and none.

Link copied to clipboard

Amount (in MiB) of memory used by the task. If the requires_compatibilities is FARGATE this field is required.

Link copied to clipboard

Docker networking mode to use for the containers in the task. Valid values are none, bridge, awsvpc, and host.

Link copied to clipboard

Process namespace to use for the containers in the task. The valid values are host and task.

Link copied to clipboard

Configuration block for rules that are taken into consideration during task placement. Maximum number of placement_constraints is 10. Detailed below.

Link copied to clipboard

Configuration block for the App Mesh proxy. Detailed below.

Link copied to clipboard

Set of launch types required by the task. The valid values are EC2 and FARGATE.

Link copied to clipboard

Revision of the task in a particular family.

Link copied to clipboard

Configuration block for runtime_platform that containers in your task may use.

Link copied to clipboard

Status of the task definition.

Link copied to clipboard
Link copied to clipboard

ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services.

Link copied to clipboard

Configuration block for volumes that containers in your task may use. Detailed below.