amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • bundleId :: Maybe Text

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

  • cpuCount :: Maybe Int

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

  • diskSizeInGb :: Maybe Int

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

  • instanceType :: Maybe Text

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

  • isActive :: Maybe Bool

    A Boolean value indicating whether the bundle is active.

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

  • price :: Maybe Double

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

  • ramSizeInGb :: Maybe Double

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

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

  • transferPerMonthInGb :: Maybe Int

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

Instances

Instances details
FromJSON 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 #

Read Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Show Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

NFData Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Methods

rnf :: Bundle -> () #

Eq Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Methods

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

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

Hashable Bundle Source # 
Instance details

Defined in Amazonka.Lightsail.Types.Bundle

Methods

hashWithSalt :: Int -> Bundle -> Int #

hash :: Bundle -> Int #

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:bundleId:Bundle', bundle_bundleId - The bundle ID (e.g., micro_1_0).

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

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

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

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

$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:price:Bundle', bundle_price - The price in US dollars (e.g., 5.0) of the bundle.

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

$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:transferPerMonthInGb:Bundle', bundle_transferPerMonthInGb - 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_cpuCount :: Lens' Bundle (Maybe Int) Source #

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

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

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

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

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

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

A Boolean value indicating whether the bundle is active.

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_price :: Lens' Bundle (Maybe Double) Source #

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

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

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

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_transferPerMonthInGb :: Lens' Bundle (Maybe Int) Source #

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