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

Constant Summary collapse

SENSITIVE =
[]

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)

5465
5466
5467
5468
5469
5470
# File 'lib/aws-sdk-ecs/types.rb', line 5465

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

#device_typeString

The Elastic Inference accelerator type to use.

Returns:

  • (String)

5465
5466
5467
5468
5469
5470
# File 'lib/aws-sdk-ecs/types.rb', line 5465

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