Class: Aws::EC2::Types::AcceleratorCount

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 AcceleratorCount 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#maxInteger

The maximum number of accelerators. If this parameter is not specified, there is no maximum limit.

Returns:

  • (Integer)


36
37
38
39
40
41
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36

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

#minInteger

The minimum number of accelerators. If this parameter is not specified, there is no minimum limit.

Returns:

  • (Integer)


36
37
38
39
40
41
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36

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