Skip to content

CpuOptionsRequest

Source code in docs_src/capo_ec2/types/cpu_options_request.py
class CpuOptionsRequest(TypedDict, closed=True):
    core_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of CPU cores for the instance.</p>"""
    threads_per_core: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of threads per CPU core. To disable multithreading for the instance, specify a value of <code>1</code>. Otherwise, specify the default value of <code>2</code>.</p>"""
    amd_sev_snp: NotRequired[
        "capo_ec2.types.amd_sev_snp_specification.AmdSevSnpSpecification"
    ]
    """<p>Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">AMD SEV-SNP</a>.</p>"""
    nested_virtualization: NotRequired[
        "capo_ec2.types.nested_virtualization_specification.NestedVirtualizationSpecification"
    ]
    """<p>Indicates whether to enable the instance for nested virtualization. Nested virtualization is supported only on 8th generation Intel-based instance types (c8i, m8i, r8i, and their flex variants). When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.</p>"""

amd_sev_snp instance-attribute

amd_sev_snp: NotRequired[AmdSevSnpSpecification]

Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP.

core_count instance-attribute

core_count: NotRequired[Integer]

The number of CPU cores for the instance.

nested_virtualization instance-attribute

nested_virtualization: NotRequired[NestedVirtualizationSpecification]

Indicates whether to enable the instance for nested virtualization. Nested virtualization is supported only on 8th generation Intel-based instance types (c8i, m8i, r8i, and their flex variants). When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.

threads_per_core instance-attribute

threads_per_core: NotRequired[Integer]

The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.