Class SpotInstanceRequestCpuOptionsArgs


  • public final class SpotInstanceRequestCpuOptionsArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • amdSevSnp

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> amdSevSnp()
        Returns:
        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`.
      • coreCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> coreCount()
        Returns:
        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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html#cpu-options-supported-instances-values) - specifying this option for unsupported instance types will return an error from the EC2 API.
      • nestedVirtualization

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> nestedVirtualization()
        Returns:
        Indicates whether to enable the instance for nested virtualization. Nested virtualization is supported on 8th generation Intel-based instance types (C8i, M8i, R8i, and their flex variants) only. When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance. Valid values are `enabled` and `disabled`.
      • threadsPerCore

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> threadsPerCore()
        Returns:
        If set to 1, hyperthreading is disabled on the launched instance. Defaults to 2 if not set. See [Optimizing CPU Options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html) for more information. For more information, see the documentation on [Optimizing CPU options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html).