Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEcsTaskDefinitionDetails
- Defined in:
- gems/aws-sdk-securityhub/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.
-
#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.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) 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)
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) 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.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) SENSITIVE = [] include Aws::Structure end |
#family ⇒ String
The name of a family that this task definition is registered to.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) SENSITIVE = [] include Aws::Structure end |
#inference_accelerators ⇒ Array<Types::AwsEcsTaskDefinitionInferenceAcceleratorsDetails>
The Elastic Inference accelerators to use for the containers in the task.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) 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
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) 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.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) 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
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) 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
.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) SENSITIVE = [] include Aws::Structure end |
#placement_constraints ⇒ Array<Types::AwsEcsTaskDefinitionPlacementConstraintsDetails>
The placement constraint objects to use for tasks.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) SENSITIVE = [] include Aws::Structure end |
#proxy_configuration ⇒ Types::AwsEcsTaskDefinitionProxyConfigurationDetails
The configuration details for the App Mesh proxy.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) SENSITIVE = [] include Aws::Structure end |
#requires_compatibilities ⇒ Array<String>
The task launch types that the task definition was validated against.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) 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.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) SENSITIVE = [] include Aws::Structure end |
#volumes ⇒ Array<Types::AwsEcsTaskDefinitionVolumesDetails>
The data volume definitions for the task.
10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10227 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) SENSITIVE = [] include Aws::Structure end |