Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionDetails

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#container_definitionsArray<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

#cpuString

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)`

Returns:

  • (String)


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_arnString

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

Returns:

  • (String)


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

#familyString

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

Returns:

  • (String)


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_acceleratorsArray<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_modeString

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

  • ‘host`

  • ‘none`

  • ‘task`

Returns:

  • (String)


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

#memoryString

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

Returns:

  • (String)


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_modeString

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

  • ‘awsvpc`

  • ‘bridge`

  • ‘host`

  • ‘none`

Returns:

  • (String)


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_modeString

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

Returns:

  • (String)


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_constraintsArray<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_configurationTypes::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_compatibilitiesArray<String>

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

Returns:

  • (Array<String>)


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

#statusString

The status of the task definition.

Returns:

  • (String)


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_arnString

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.

Returns:

  • (String)


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

#volumesArray<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