InstanceInstanceMarketOptionsSpotOptionsArgs

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

Constructors

constructor(instanceInterruptionBehavior: Output<String>? = null, maxPrice: Output<String>? = null, spotInstanceType: Output<String>? = null, validUntil: Output<String>? = null)

Properties

Link copied to clipboard

The behavior when a Spot Instance is interrupted. Valid values include hibernate, stop, terminate . The default is terminate.

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

The maximum hourly price that you're willing to pay for a Spot Instance.

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

The Spot Instance request type. Valid values include one-time, persistent. Persistent Spot Instance requests are only supported when the instance interruption behavior is either hibernate or stop. The default is one-time.

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.

Functions

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