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.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
Eq ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

Read ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

Show 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 #

NFData ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

Methods

rnf :: ContainerServicePower -> () #

Hashable ContainerServicePower Source # 
Instance details

Defined in Amazonka.Lightsail.Types.ContainerServicePower

FromJSON 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" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "ContainerServicePower'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "powerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cpuCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "price") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "isActive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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:powerId:ContainerServicePower', containerServicePower_powerId - The ID of the power (e.g., nano-1).

$sel:cpuCount:ContainerServicePower', containerServicePower_cpuCount - The number of vCPUs included in the power.

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

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

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

$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_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.

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

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