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

Class: Aws::Lightsail::Types::Bundle

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a bundle, which is a set of specs describing your virtual private server (or instance).

Instance Attribute Summary collapse

Instance Attribute Details

#bundle_idString

The bundle ID (e.g., micro_1_0).

Returns:

  • (String)

    The bundle ID (e.g., micro_1_0).

#cpu_countInteger

The number of vCPUs included in the bundle (e.g., 2).

Returns:

  • (Integer)

    The number of vCPUs included in the bundle (e.g., 2).

#disk_size_in_gbInteger

The size of the SSD (e.g., 30).

Returns:

  • (Integer)

    The size of the SSD (e.g., 30).

#instance_typeString

The Amazon EC2 instance type (e.g., t2.micro).

Returns:

  • (String)

    The Amazon EC2 instance type (e.g., t2.micro).

#is_activeBoolean

A Boolean value indicating whether the bundle is active.

Returns:

  • (Boolean)

    A Boolean value indicating whether the bundle is active.

#nameString

A friendly name for the bundle (e.g., Micro).

Returns:

  • (String)

    A friendly name for the bundle (e.g., Micro).

#powerInteger

A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle\'s power value in conjunction with a blueprint\'s minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

Returns:

  • (Integer)

    A numeric value that represents the power of the bundle (e.g., 500).

#priceFloat

The price in US dollars (e.g., 5.0) of the bundle.

Returns:

  • (Float)

    The price in US dollars (e.g., 5.0) of the bundle.

#ram_size_in_gbFloat

The amount of RAM in GB (e.g., 2.0).

Returns:

  • (Float)

    The amount of RAM in GB (e.g., 2.0).

#supported_platformsArray<String>

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

Returns:

  • (Array<String>)

    The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.

#transfer_per_month_in_gbInteger

The data transfer rate per month in GB (e.g., 2000).

Returns:

  • (Integer)

    The data transfer rate per month in GB (e.g., 2000).