AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ECS::Types::InferenceAcceleratorOverride

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

Overview

Note:

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

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

Details on an Elastic Inference accelerator task override. This parameter is used to override the Elastic Inference accelerator specified in the task definition. For more information, see Working with Amazon Elastic Inference on Amazon ECS in the Amazon Elastic Container Service Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

The Elastic Inference accelerator device name to override for the task. This parameter must match a deviceName specified in the task definition.

Returns:

  • (String)


5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5023

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

#device_typeString

The Elastic Inference accelerator type to use.

Returns:

  • (String)


5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5023

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