Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEcsTaskDefinitionDetails
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-securityhub/types.rb
Overview
Details about a task definition. A task definition describes the container and volume definitions of an Amazon Elastic Container Service task.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#container_definitions ⇒ Array<Types::AwsEcsTaskDefinitionContainerDefinitionsDetails>
The container definitions that describe the containers that make up the task.
-
#cpu ⇒ String
The number of CPU units used by the task.Valid values are as follows:.
-
#execution_role_arn ⇒ String
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
The name of a family that this task definition is registered to.
-
#inference_accelerators ⇒ Array<Types::AwsEcsTaskDefinitionInferenceAcceleratorsDetails>
The Elastic Inference accelerators to use for the containers in the task.
-
#ipc_mode ⇒ String
The inter-process communication (IPC) resource namespace to use for the containers in the task.
-
#memory ⇒ String
The amount (in MiB) of memory used by the task.
-
#network_mode ⇒ String
The Docker networking mode to use for the containers in the task.
-
#pid_mode ⇒ String
The process namespace to use for the containers in the task.
-
#placement_constraints ⇒ Array<Types::AwsEcsTaskDefinitionPlacementConstraintsDetails>
The placement constraint objects to use for tasks.
-
#proxy_configuration ⇒ Types::AwsEcsTaskDefinitionProxyConfigurationDetails
The configuration details for the App Mesh proxy.
-
#requires_compatibilities ⇒ Array<String>
The task launch types that the task definition was validated against.
-
#status ⇒ String
The status of the task definition.
-
#task_role_arn ⇒ String
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 ⇒ Array<Types::AwsEcsTaskDefinitionVolumesDetails>
The data volume definitions for the task.
Instance Attribute Details
#container_definitions ⇒ Array<Types::AwsEcsTaskDefinitionContainerDefinitionsDetails>
The container definitions that describe the containers that make up the task.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#cpu ⇒ String
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)`
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#execution_role_arn ⇒ String
The ARN of the task execution role that grants the container agent permission to make API calls on behalf of the container user.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#family ⇒ String
The name of a family that this task definition is registered to.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#inference_accelerators ⇒ Array<Types::AwsEcsTaskDefinitionInferenceAcceleratorsDetails>
The Elastic Inference accelerators to use for the containers in the task.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#ipc_mode ⇒ String
The inter-process communication (IPC) resource namespace to use for the containers in the task. Valid values are as follows:
-
‘host`
-
‘none`
-
‘task`
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#memory ⇒ String
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.
[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#network_mode ⇒ String
The Docker networking mode to use for the containers in the task. Valid values are as follows:
-
‘awsvpc`
-
‘bridge`
-
‘host`
-
‘none`
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#pid_mode ⇒ String
The process namespace to use for the containers in the task. Valid values are ‘host` or `task`.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#placement_constraints ⇒ Array<Types::AwsEcsTaskDefinitionPlacementConstraintsDetails>
The placement constraint objects to use for tasks.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#proxy_configuration ⇒ Types::AwsEcsTaskDefinitionProxyConfigurationDetails
The configuration details for the App Mesh proxy.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#requires_compatibilities ⇒ Array<String>
The task launch types that the task definition was validated against.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The status of the task definition.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#task_role_arn ⇒ String
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.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |
#volumes ⇒ Array<Types::AwsEcsTaskDefinitionVolumesDetails>
The data volume definitions for the task.
11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 |
# File 'lib/aws-sdk-securityhub/types.rb', line 11276 class AwsEcsTaskDefinitionDetails < Struct.new( :container_definitions, :cpu, :execution_role_arn, :family, :inference_accelerators, :ipc_mode, :memory, :network_mode, :pid_mode, :placement_constraints, :proxy_configuration, :requires_compatibilities, :task_role_arn, :volumes, :status) SENSITIVE = [] include Aws::Structure end |