Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails data as a hash:

{
  type: "NonEmptyString",
  value: "NonEmptyString",
}

A resource to assign to a container.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

The type of resource to assign to a container.

Returns:

  • (String)


8129
8130
8131
8132
8133
8134
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8129

class AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value for the specified resource type.

For GPU, the value is the number of physical GPUs the Amazon ECS container agent reserves for the container.

For InferenceAccelerator, the value should match the DeviceName attribute of an entry in InferenceAccelerators.

Returns:

  • (String)


8129
8130
8131
8132
8133
8134
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8129

class AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end