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 LaunchTemplateSpotMarketOptions = LaunchTemplateSpotMarketOptions' {}
- newLaunchTemplateSpotMarketOptions :: LaunchTemplateSpotMarketOptions
- launchTemplateSpotMarketOptions_blockDurationMinutes :: Lens' LaunchTemplateSpotMarketOptions (Maybe Int)
- launchTemplateSpotMarketOptions_instanceInterruptionBehavior :: Lens' LaunchTemplateSpotMarketOptions (Maybe InstanceInterruptionBehavior)
- launchTemplateSpotMarketOptions_maxPrice :: Lens' LaunchTemplateSpotMarketOptions (Maybe Text)
- launchTemplateSpotMarketOptions_spotInstanceType :: Lens' LaunchTemplateSpotMarketOptions (Maybe SpotInstanceType)
- launchTemplateSpotMarketOptions_validUntil :: Lens' LaunchTemplateSpotMarketOptions (Maybe UTCTime)
Documentation
data LaunchTemplateSpotMarketOptions Source #
The options for Spot Instances.
See: newLaunchTemplateSpotMarketOptions
smart constructor.
LaunchTemplateSpotMarketOptions' | |
|
Instances
newLaunchTemplateSpotMarketOptions :: LaunchTemplateSpotMarketOptions Source #
Create a value of LaunchTemplateSpotMarketOptions
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:blockDurationMinutes:LaunchTemplateSpotMarketOptions'
, launchTemplateSpotMarketOptions_blockDurationMinutes
- The required duration for the Spot Instances (also known as Spot
blocks), in minutes. This value must be a multiple of 60 (60, 120, 180,
240, 300, or 360).
$sel:instanceInterruptionBehavior:LaunchTemplateSpotMarketOptions'
, launchTemplateSpotMarketOptions_instanceInterruptionBehavior
- The behavior when a Spot Instance is interrupted.
$sel:maxPrice:LaunchTemplateSpotMarketOptions'
, launchTemplateSpotMarketOptions_maxPrice
- The maximum hourly price you're willing to pay for the Spot Instances.
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 Spot Instances will be interrupted more frequently than if you do not specify this parameter.
$sel:spotInstanceType:LaunchTemplateSpotMarketOptions'
, launchTemplateSpotMarketOptions_spotInstanceType
- The Spot Instance request type.
$sel:validUntil:LaunchTemplateSpotMarketOptions'
, launchTemplateSpotMarketOptions_validUntil
- The end date of the request. For a one-time request, the request remains
active until all instances launch, the request is canceled, or this date
is reached. If the request is persistent, it remains active until it is
canceled or this date and time is reached.
launchTemplateSpotMarketOptions_blockDurationMinutes :: Lens' LaunchTemplateSpotMarketOptions (Maybe Int) Source #
The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
launchTemplateSpotMarketOptions_instanceInterruptionBehavior :: Lens' LaunchTemplateSpotMarketOptions (Maybe InstanceInterruptionBehavior) Source #
The behavior when a Spot Instance is interrupted.
launchTemplateSpotMarketOptions_maxPrice :: Lens' LaunchTemplateSpotMarketOptions (Maybe Text) Source #
The maximum hourly price you're willing to pay for the Spot Instances. 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 Spot Instances will be interrupted more frequently than if you do not specify this parameter.
launchTemplateSpotMarketOptions_spotInstanceType :: Lens' LaunchTemplateSpotMarketOptions (Maybe SpotInstanceType) Source #
The Spot Instance request type.
launchTemplateSpotMarketOptions_validUntil :: Lens' LaunchTemplateSpotMarketOptions (Maybe UTCTime) Source #
The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.