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

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

Instance Attribute Details

#container_definitionsArray<Types::AwsEcsTaskDefinitionContainerDefinitionsDetails>

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



10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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.



10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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.

Returns:

  • (String)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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.



10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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.



10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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)


10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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.



10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10924

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