SpotInstanceRequestCpuOptionsArgs

data class SpotInstanceRequestCpuOptionsArgs(val amdSevSnp: Output<String>? = null, val coreCount: Output<Int>? = null, val threadsPerCore: Output<Int>? = null) : ConvertibleToJava<SpotInstanceRequestCpuOptionsArgs>

Constructors

Link copied to clipboard
constructor(amdSevSnp: Output<String>? = null, coreCount: Output<Int>? = null, threadsPerCore: Output<Int>? = null)

Properties

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

Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. Valid values are enabled and disabled.

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

Sets the number of CPU cores for an instance. This option is only supported on creation of instance type that support CPU Options CPU Cores and Threads Per CPU Core Per Instance Type - specifying this option for unsupported instance types will return an error from the EC2 API.

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

If set to 1, hyperthreading is disabled on the launched instance. Defaults to 2 if not set. See Optimizing CPU Options for more information. For more information, see the documentation on Optimizing CPU options.

Functions

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