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

Description

 
Synopsis

Documentation

data ContainerServicePower Source #

Describes the powers that can be specified for an Amazon Lightsail container service.

The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.

See: newContainerServicePower smart constructor.

Constructors

ContainerServicePower' 

Fields

Instances

Instances details
FromJSON ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

Generic ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

Associated Types

type Rep ContainerServicePower :: Type -> Type #

Read ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

Show ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

NFData ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

Methods

rnf :: ContainerServicePower -> () #

Eq ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

Hashable ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

type Rep ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

type Rep ContainerServicePower = D1 ('MetaData "ContainerServicePower" "Amazonka.Lightsail.Types.ContainerServicePower" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "ContainerServicePower'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cpuCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "isActive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "powerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "price") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "ramSizeInGb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

newContainerServicePower :: ContainerServicePower Source #

Create a value of ContainerServicePower 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:ContainerServicePower', containerServicePower_cpuCount - The number of vCPUs included in the power.

$sel:isActive:ContainerServicePower', containerServicePower_isActive - A Boolean value indicating whether the power is active and can be specified for container services.

$sel:name:ContainerServicePower', containerServicePower_name - The friendly name of the power (e.g., nano).

$sel:powerId:ContainerServicePower', containerServicePower_powerId - The ID of the power (e.g., nano-1).

$sel:price:ContainerServicePower', containerServicePower_price - The monthly price of the power in USD.

$sel:ramSizeInGb:ContainerServicePower', containerServicePower_ramSizeInGb - The amount of RAM (in GB) of the power.

containerServicePower_cpuCount :: Lens' ContainerServicePower (Maybe Double) Source #

The number of vCPUs included in the power.

containerServicePower_isActive :: Lens' ContainerServicePower (Maybe Bool) Source #

A Boolean value indicating whether the power is active and can be specified for container services.

containerServicePower_name :: Lens' ContainerServicePower (Maybe Text) Source #

The friendly name of the power (e.g., nano).

containerServicePower_price :: Lens' ContainerServicePower (Maybe Double) Source #

The monthly price of the power in USD.