Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AwsEcsTaskDefinitionDetails

import type { AwsEcsTaskDefinitionDetails } from "https://aws-api.deno.dev/v0.4/services/securityhub.ts?docs=full";

Details about a task definition. A task definition describes the container and volume definitions of an Amazon Elastic Container Service task.

interface AwsEcsTaskDefinitionDetails {
ContainerDefinitions?: AwsEcsTaskDefinitionContainerDefinitionsDetails[] | null;
Cpu?: string | null;
ExecutionRoleArn?: string | null;
Family?: string | null;
InferenceAccelerators?: AwsEcsTaskDefinitionInferenceAcceleratorsDetails[] | null;
IpcMode?: string | null;
Memory?: string | null;
NetworkMode?: string | null;
PidMode?: string | null;
PlacementConstraints?: AwsEcsTaskDefinitionPlacementConstraintsDetails[] | null;
RequiresCompatibilities?: string[] | null;
TaskRoleArn?: string | null;
}

§Properties

§

The container definitions that describe the containers that make up the task.

§
Cpu?: string | null
[src]

The number of CPU units used by the task.Valid values are as follows:

  • 256 (.25 vCPU)
    
  • 512 (.5 vCPU)
    
  • 1024 (1 vCPU)
    
  • 2048 (2 vCPU)
    
  • 4096 (4 vCPU)
    
§
ExecutionRoleArn?: string | null
[src]

The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.

§
Family?: string | null
[src]

The name of a family that this task definition is registered to.

§

The Elastic Inference accelerators to use for the containers in the task.

§
IpcMode?: string | null
[src]

The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows:

  • host
    
  • none
    
  • task
    
§
Memory?: string | null
[src]

The amount (in MiB) of memory used by the task.

For tasks that are hosted on Amazon EC2, you can provide a task-level memory value or a container-level memory value. For tasks that are hosted on Fargate, you must use one of the specified values in the Amazon Elastic Container Service Developer Guide, which determines your range of supported values for the Cpu and Memory parameters.

§
NetworkMode?: string | null
[src]

The Docker networking mode to use for the containers in the task. Valid values are as follows:

  • awsvpc
    
  • bridge
    
  • host
    
  • none
    
§
PidMode?: string | null
[src]

The process namespace to use for the containers in the task. Valid values are host or task.

§

The placement constraint objects to use for tasks.

§

The configuration details for the App Mesh proxy.

§
RequiresCompatibilities?: string[] | null
[src]

The task launch types that the task definition was validated against.

§
TaskRoleArn?: string | null
[src]

The short name or ARN of the IAM role that grants containers in the task permission to call Amazon Web Services API operations on your behalf.

§

The data volume definitions for the task.