Class: Aws::EC2::Types::AcceleratorCountRequest

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

Overview

Note:

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

{
  min: 1,
  max: 1,
}

The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) on an instance. To exclude accelerator-enabled instance types, set Max to 0.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#maxInteger

The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0.

Returns:

  • (Integer)


68
69
70
71
72
73
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68

class AcceleratorCountRequest < Struct.new(
  :min,
  :max)
  SENSITIVE = []
  include Aws::Structure
end

#minInteger

The minimum number of accelerators. To specify no minimum limit, omit this parameter.

Returns:

  • (Integer)


68
69
70
71
72
73
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 68

class AcceleratorCountRequest < Struct.new(
  :min,
  :max)
  SENSITIVE = []
  include Aws::Structure
end