Launch Template Spot Options Args
Specifies options for Spot Instances. `SpotOptions`
is a property of AWS::EC2::LaunchTemplate InstanceMarketOptions.
Constructors
Properties
Deprecated.
The behavior when a Spot Instance is interrupted. The default is `terminate`
.
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.
The Spot Instance request type. If you are using Spot Instances with an Auto Scaling group, use `one-time`
requests, as the ASlong service handles requesting new Spot Instances whenever the group is below its desired capacity.
The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests.