LaunchTemplateSpotOptionsArgs

data class LaunchTemplateSpotOptionsArgs(val blockDurationMinutes: Output<Int>? = null, val instanceInterruptionBehavior: Output<String>? = null, val maxPrice: Output<String>? = null, val spotInstanceType: Output<String>? = null, val validUntil: Output<String>? = null) : ConvertibleToJava<LaunchTemplateSpotOptionsArgs>

Specifies options for Spot Instances.

Constructors

Link copied to clipboard
fun LaunchTemplateSpotOptionsArgs(blockDurationMinutes: Output<Int>? = null, instanceInterruptionBehavior: Output<String>? = null, maxPrice: Output<String>? = null, spotInstanceType: Output<String>? = null, validUntil: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): LaunchTemplateSpotOptionsArgs

Properties

Link copied to clipboard
val blockDurationMinutes: Output<Int>? = null

Deprecated

Link copied to clipboard

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

Link copied to clipboard
val maxPrice: Output<String>? = null

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

Link copied to clipboard
val spotInstanceType: Output<String>? = null

The Spot Instance request type.

Link copied to clipboard
val validUntil: Output<String>? = null

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