Class: Aws::ECS::Types::InferenceAccelerator

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Note:

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

{
  device_name: "String", # required
  device_type: "String", # required
}

Details on a Elastic Inference accelerator. For more information, see

Working with Amazon Elastic Inference on Amazon ECS][1

in the

*Amazon Elastic Container Service Developer Guide*.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-eia.html

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

The Elastic Inference accelerator device name. The deviceName must also be referenced in a container definition as a ResourceRequirement.

Returns:

  • (String)


4384
4385
4386
4387
4388
# File 'lib/aws-sdk-ecs/types.rb', line 4384

class InferenceAccelerator < Struct.new(
  :device_name,
  :device_type)
  include Aws::Structure
end

#device_typeString

The Elastic Inference accelerator type to use.

Returns:

  • (String)


4384
4385
4386
4387
4388
# File 'lib/aws-sdk-ecs/types.rb', line 4384

class InferenceAccelerator < Struct.new(
  :device_name,
  :device_type)
  include Aws::Structure
end