AwsEcsTaskDefinitionDetails
¶
Source code in docs_src/capo_securityhub/types/aws_ecs_task_definition_details.py
container_definitions
instance-attribute
¶
container_definitions: NotRequired[AwsEcsTaskDefinitionContainerDefinitionsList]
The container definitions that describe the containers that make up the task.
cpu
instance-attribute
¶
cpu: NotRequired[NonEmptyString]
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)
execution_role_arn
instance-attribute
¶
execution_role_arn: NotRequired[NonEmptyString]
The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.
family
instance-attribute
¶
family: NotRequired[NonEmptyString]
The name of a family that this task definition is registered to.
inference_accelerators
instance-attribute
¶
inference_accelerators: NotRequired[AwsEcsTaskDefinitionInferenceAcceleratorsList]
The Elastic Inference accelerators to use for the containers in the task.
ipc_mode
instance-attribute
¶
ipc_mode: NotRequired[NonEmptyString]
The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows:
-
host -
none -
task
memory
instance-attribute
¶
memory: NotRequired[NonEmptyString]
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.
network_mode
instance-attribute
¶
network_mode: NotRequired[NonEmptyString]
The Docker networking mode to use for the containers in the task. Valid values are as follows:
-
awsvpc -
bridge -
host -
none
pid_mode
instance-attribute
¶
pid_mode: NotRequired[NonEmptyString]
The process namespace to use for the containers in the task. Valid values are host or task.
placement_constraints
instance-attribute
¶
placement_constraints: NotRequired[AwsEcsTaskDefinitionPlacementConstraintsList]
The placement constraint objects to use for tasks.
proxy_configuration
instance-attribute
¶
proxy_configuration: NotRequired[AwsEcsTaskDefinitionProxyConfigurationDetails]
The configuration details for the App Mesh proxy.
requires_compatibilities
instance-attribute
¶
requires_compatibilities: NotRequired[NonEmptyStringList]
The task launch types that the task definition was validated against.
task_role_arn
instance-attribute
¶
task_role_arn: NotRequired[NonEmptyString]
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.
volumes
instance-attribute
¶
volumes: NotRequired[AwsEcsTaskDefinitionVolumesList]
The data volume definitions for the task.