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 SpotPrice = SpotPrice' {}
- newSpotPrice :: SpotPrice
- spotPrice_availabilityZone :: Lens' SpotPrice (Maybe Text)
- spotPrice_instanceType :: Lens' SpotPrice (Maybe InstanceType)
- spotPrice_productDescription :: Lens' SpotPrice (Maybe RIProductDescription)
- spotPrice_spotPrice :: Lens' SpotPrice (Maybe Text)
- spotPrice_timestamp :: Lens' SpotPrice (Maybe UTCTime)
Documentation
The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
See: newSpotPrice
smart constructor.
SpotPrice' | |
|
Instances
newSpotPrice :: SpotPrice Source #
Create a value of SpotPrice
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:availabilityZone:SpotPrice'
, spotPrice_availabilityZone
- The Availability Zone.
$sel:instanceType:SpotPrice'
, spotPrice_instanceType
- The instance type.
$sel:productDescription:SpotPrice'
, spotPrice_productDescription
- A general description of the AMI.
$sel:spotPrice:SpotPrice'
, spotPrice_spotPrice
- The maximum price per unit hour that you are willing to pay for a Spot
Instance. We do not recommend using this parameter because it can lead
to increased interruptions. If you do not specify this parameter, you
will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
$sel:timestamp:SpotPrice'
, spotPrice_timestamp
- The date and time the request was created, in UTC format (for example,
YYYY-MM-DDTHH:MM:SSZ).
spotPrice_instanceType :: Lens' SpotPrice (Maybe InstanceType) Source #
The instance type.
spotPrice_productDescription :: Lens' SpotPrice (Maybe RIProductDescription) Source #
A general description of the AMI.
spotPrice_spotPrice :: Lens' SpotPrice (Maybe Text) Source #
The maximum price per unit hour that you are willing to pay for a Spot Instance. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.