You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Lightsail::Types::InstanceHardware

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

Overview

Describes the hardware for the instance.

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_countInteger

The number of vCPUs the instance has.

Returns:

  • (Integer)


1996
1997
1998
1999
2000
2001
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1996

class InstanceHardware < Struct.new(
  :cpu_count,
  :disks,
  :ram_size_in_gb)
  include Aws::Structure
end

#disksArray<Types::Disk>

The disks attached to the instance.

Returns:



1996
1997
1998
1999
2000
2001
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1996

class InstanceHardware < Struct.new(
  :cpu_count,
  :disks,
  :ram_size_in_gb)
  include Aws::Structure
end

#ram_size_in_gbFloat

The amount of RAM in GB on the instance (e.g., 1.0).

Returns:

  • (Float)


1996
1997
1998
1999
2000
2001
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 1996

class InstanceHardware < Struct.new(
  :cpu_count,
  :disks,
  :ram_size_in_gb)
  include Aws::Structure
end