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 LaunchTemplateSpotMarketOptionsRequest = LaunchTemplateSpotMarketOptionsRequest' {}
- newLaunchTemplateSpotMarketOptionsRequest :: LaunchTemplateSpotMarketOptionsRequest
- launchTemplateSpotMarketOptionsRequest_blockDurationMinutes :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe Int)
- launchTemplateSpotMarketOptionsRequest_instanceInterruptionBehavior :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe InstanceInterruptionBehavior)
- launchTemplateSpotMarketOptionsRequest_maxPrice :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe Text)
- launchTemplateSpotMarketOptionsRequest_spotInstanceType :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe SpotInstanceType)
- launchTemplateSpotMarketOptionsRequest_validUntil :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe UTCTime)
Documentation
data LaunchTemplateSpotMarketOptionsRequest Source #
The options for Spot Instances.
See: newLaunchTemplateSpotMarketOptionsRequest
smart constructor.
LaunchTemplateSpotMarketOptionsRequest' | |
|
Instances
newLaunchTemplateSpotMarketOptionsRequest :: LaunchTemplateSpotMarketOptionsRequest Source #
Create a value of LaunchTemplateSpotMarketOptionsRequest
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:LaunchTemplateSpotMarketOptionsRequest'
, launchTemplateSpotMarketOptionsRequest_blockDurationMinutes
- Deprecated.
$sel:instanceInterruptionBehavior:LaunchTemplateSpotMarketOptionsRequest'
, launchTemplateSpotMarketOptionsRequest_instanceInterruptionBehavior
- The behavior when a Spot Instance is interrupted. The default is
terminate
.
$sel:maxPrice:LaunchTemplateSpotMarketOptionsRequest'
, launchTemplateSpotMarketOptionsRequest_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:LaunchTemplateSpotMarketOptionsRequest'
, launchTemplateSpotMarketOptionsRequest_spotInstanceType
- The Spot Instance request type.
$sel:validUntil:LaunchTemplateSpotMarketOptionsRequest'
, launchTemplateSpotMarketOptionsRequest_validUntil
- The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
Supported only for persistent requests.
- For a persistent request, the request remains active until the
ValidUntil
date and time is reached. Otherwise, the request remains active until you cancel it. - For a one-time request,
ValidUntil
is not supported. The request remains active until all instances launch or you cancel the request.
Default: 7 days from the current date
launchTemplateSpotMarketOptionsRequest_blockDurationMinutes :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe Int) Source #
Deprecated.
launchTemplateSpotMarketOptionsRequest_instanceInterruptionBehavior :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe InstanceInterruptionBehavior) Source #
The behavior when a Spot Instance is interrupted. The default is
terminate
.
launchTemplateSpotMarketOptionsRequest_maxPrice :: Lens' LaunchTemplateSpotMarketOptionsRequest (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.
launchTemplateSpotMarketOptionsRequest_spotInstanceType :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe SpotInstanceType) Source #
The Spot Instance request type.
launchTemplateSpotMarketOptionsRequest_validUntil :: Lens' LaunchTemplateSpotMarketOptionsRequest (Maybe UTCTime) Source #
The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests.
- For a persistent request, the request remains active until the
ValidUntil
date and time is reached. Otherwise, the request remains active until you cancel it. - For a one-time request,
ValidUntil
is not supported. The request remains active until all instances launch or you cancel the request.
Default: 7 days from the current date