libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.Types.Bundle

Description

 
Synopsis

Documentation

data Bundle Source #

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

See: newBundle smart constructor.

Constructors

Bundle' 

Fields

  • cpuCount :: Maybe Int

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

  • transferPerMonthInGb :: Maybe Int

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

  • bundleId :: Maybe Text

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

  • instanceType :: Maybe Text

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

  • name :: Maybe Text

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

  • power :: Maybe Int

    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.

  • diskSizeInGb :: Maybe Int

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

  • supportedPlatforms :: Maybe [InstancePlatform]

    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.

  • price :: Maybe Double

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

  • isActive :: Maybe Bool

    A Boolean value indicating whether the bundle is active.

  • ramSizeInGb :: Maybe Double

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

Instances

Instances details
Eq Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Methods

(==) :: Bundle -> Bundle -> Bool #

(/=) :: Bundle -> Bundle -> Bool #

Read Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Show Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Generic Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Associated Types

type Rep Bundle :: Type -> Type #

Methods

from :: Bundle -> Rep Bundle x #

to :: Rep Bundle x -> Bundle #

NFData Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Methods

rnf :: Bundle -> () #

Hashable Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Methods

hashWithSalt :: Int -> Bundle -> Int #

hash :: Bundle -> Int #

FromJSON Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

type Rep Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

newBundle :: Bundle Source #

Create a value of Bundle with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cpuCount:Bundle', bundle_cpuCount - The number of vCPUs included in the bundle (e.g., 2).

$sel:transferPerMonthInGb:Bundle', bundle_transferPerMonthInGb - The data transfer rate per month in GB (e.g., 2000).

$sel:bundleId:Bundle', bundle_bundleId - The bundle ID (e.g., micro_1_0).

$sel:instanceType:Bundle', bundle_instanceType - The Amazon EC2 instance type (e.g., t2.micro).

$sel:name:Bundle', bundle_name - A friendly name for the bundle (e.g., Micro).

$sel:power:Bundle', bundle_power - 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.

$sel:diskSizeInGb:Bundle', bundle_diskSizeInGb - The size of the SSD (e.g., 30).

$sel:supportedPlatforms:Bundle', bundle_supportedPlatforms - 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.

$sel:price:Bundle', bundle_price - The price in US dollars (e.g., 5.0) of the bundle.

$sel:isActive:Bundle', bundle_isActive - A Boolean value indicating whether the bundle is active.

$sel:ramSizeInGb:Bundle', bundle_ramSizeInGb - The amount of RAM in GB (e.g., 2.0).

bundle_cpuCount :: Lens' Bundle (Maybe Int) Source #

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

bundle_transferPerMonthInGb :: Lens' Bundle (Maybe Int) Source #

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

bundle_bundleId :: Lens' Bundle (Maybe Text) Source #

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

bundle_instanceType :: Lens' Bundle (Maybe Text) Source #

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

bundle_name :: Lens' Bundle (Maybe Text) Source #

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

bundle_power :: Lens' Bundle (Maybe Int) Source #

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.

bundle_diskSizeInGb :: Lens' Bundle (Maybe Int) Source #

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

bundle_supportedPlatforms :: Lens' Bundle (Maybe [InstancePlatform]) Source #

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.

bundle_price :: Lens' Bundle (Maybe Double) Source #

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

bundle_isActive :: Lens' Bundle (Maybe Bool) Source #

A Boolean value indicating whether the bundle is active.

bundle_ramSizeInGb :: Lens' Bundle (Maybe Double) Source #

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