Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ContainerServicePower = ContainerServicePower' {}
- newContainerServicePower :: ContainerServicePower
- containerServicePower_cpuCount :: Lens' ContainerServicePower (Maybe Double)
- containerServicePower_isActive :: Lens' ContainerServicePower (Maybe Bool)
- containerServicePower_name :: Lens' ContainerServicePower (Maybe Text)
- containerServicePower_powerId :: Lens' ContainerServicePower (Maybe Text)
- containerServicePower_price :: Lens' ContainerServicePower (Maybe Double)
- containerServicePower_ramSizeInGb :: Lens' ContainerServicePower (Maybe Double)
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.
ContainerServicePower' | |
|
Instances
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_powerId :: Lens' ContainerServicePower (Maybe Text) Source #
The ID of the power (e.g., nano-1
).
containerServicePower_price :: Lens' ContainerServicePower (Maybe Double) Source #
The monthly price of the power in USD.
containerServicePower_ramSizeInGb :: Lens' ContainerServicePower (Maybe Double) Source #
The amount of RAM (in GB) of the power.