Class LaunchTemplateCpuOptionsArgs.Builder

    • Method Detail

      • amdSevSnp

        public LaunchTemplateCpuOptionsArgs.Builder amdSevSnp​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> amdSevSnp)
        Parameters:
        amdSevSnp - 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`.
        Returns:
        builder
      • amdSevSnp

        public LaunchTemplateCpuOptionsArgs.Builder amdSevSnp​(java.lang.String amdSevSnp)
        Parameters:
        amdSevSnp - 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`.
        Returns:
        builder
      • coreCount

        public LaunchTemplateCpuOptionsArgs.Builder coreCount​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Integer> coreCount)
        Parameters:
        coreCount - The number of CPU cores for the instance.
        Returns:
        builder
      • coreCount

        public LaunchTemplateCpuOptionsArgs.Builder coreCount​(java.lang.Integer coreCount)
        Parameters:
        coreCount - The number of CPU cores for the instance.
        Returns:
        builder
      • nestedVirtualization

        public LaunchTemplateCpuOptionsArgs.Builder nestedVirtualization​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.String> nestedVirtualization)
        Parameters:
        nestedVirtualization - 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`.
        Returns:
        builder
      • nestedVirtualization

        public LaunchTemplateCpuOptionsArgs.Builder nestedVirtualization​(java.lang.String nestedVirtualization)
        Parameters:
        nestedVirtualization - 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`.
        Returns:
        builder
      • threadsPerCore

        public LaunchTemplateCpuOptionsArgs.Builder threadsPerCore​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Integer> threadsPerCore)
        Parameters:
        threadsPerCore - The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2. Both number of CPU cores and threads per core must be specified. Valid number of CPU cores and threads per core for the instance type can be found in the [CPU Options Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html?shortFooter=true#cpu-options-supported-instances-values)
        Returns:
        builder
      • threadsPerCore

        public LaunchTemplateCpuOptionsArgs.Builder threadsPerCore​(java.lang.Integer threadsPerCore)
        Parameters:
        threadsPerCore - The number of threads per CPU core. To disable Intel Hyper-Threading Technology for the instance, specify a value of 1. Otherwise, specify the default value of 2. Both number of CPU cores and threads per core must be specified. Valid number of CPU cores and threads per core for the instance type can be found in the [CPU Options Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html?shortFooter=true#cpu-options-supported-instances-values)
        Returns:
        builder