LaunchTemplateInstanceMarketOptionsSpotOptions constructor

const LaunchTemplateInstanceMarketOptionsSpotOptions({
  1. Input<int?>? blockDurationMinutes,
  2. Input<String?>? instanceInterruptionBehavior,
  3. Input<String?>? maxPrice,
  4. Input<String?>? spotInstanceType,
  5. Input<String?>? validUntil,
})

Creates a new LaunchTemplateInstanceMarketOptionsSpotOptions. blockDurationMinutes The required duration in minutes. This value must be a multiple of 60. instanceInterruptionBehavior The behavior when a Spot Instance is interrupted. Can be hibernate, maxPrice The maximum hourly price you're willing to pay for the Spot Instances. spotInstanceType The Spot Instance request type. Can be one-time, or persistent. validUntil The end date of the request.

Implementation

const LaunchTemplateInstanceMarketOptionsSpotOptions({
  this.blockDurationMinutes,
  this.instanceInterruptionBehavior,
  this.maxPrice,
  this.spotInstanceType,
  this.validUntil,
});