LaunchTemplateSpotOptions

data class LaunchTemplateSpotOptions(val blockDurationMinutes: Int? = null, val instanceInterruptionBehavior: String? = null, val maxPrice: String? = null, val spotInstanceType: String? = null, val validUntil: String? = null)

Specifies options for Spot Instances.

Constructors

Link copied to clipboard
fun LaunchTemplateSpotOptions(blockDurationMinutes: Int? = null, instanceInterruptionBehavior: String? = null, maxPrice: String? = null, spotInstanceType: String? = null, validUntil: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Deprecated

Link copied to clipboard

The behavior when a Spot Instance is interrupted. The default is terminate.

Link copied to clipboard
val maxPrice: String? = null

The maximum hourly price you're willing to pay for the Spot Instances.

Link copied to clipboard

The Spot Instance request type.

Link copied to clipboard
val validUntil: String? = null

The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ). Supported only for persistent requests.