/AWS1/CL_EC2CPUOPTIONSREQUEST¶
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_corecount TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER¶
The number of CPU cores for the instance.
iv_threadspercore TYPE /AWS1/EC2INTEGER /AWS1/EC2INTEGER¶
The number of threads per CPU core. To disable multithreading for the instance, specify a value of
1. Otherwise, specify the default value of2.
iv_amdsevsnp TYPE /AWS1/EC2AMDSEVSNPSPEC /AWS1/EC2AMDSEVSNPSPEC¶
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.
iv_nestedvirtualization TYPE /AWS1/EC2NESTEDVIRTIZATIONSPEC /AWS1/EC2NESTEDVIRTIZATIONSPEC¶
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.
Queryable Attributes¶
CoreCount¶
The number of CPU cores for the instance.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CORECOUNT() |
Getter for CORECOUNT, with configurable default |
ASK_CORECOUNT() |
Getter for CORECOUNT w/ exceptions if field has no value |
HAS_CORECOUNT() |
Determine if CORECOUNT has a value |
ThreadsPerCore¶
The number of threads per CPU core. To disable multithreading for the instance, specify a value of
1. Otherwise, specify the default value of2.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_THREADSPERCORE() |
Getter for THREADSPERCORE, with configurable default |
ASK_THREADSPERCORE() |
Getter for THREADSPERCORE w/ exceptions if field has no valu |
HAS_THREADSPERCORE() |
Determine if THREADSPERCORE has a value |
AmdSevSnp¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AMDSEVSNP() |
Getter for AMDSEVSNP, with configurable default |
ASK_AMDSEVSNP() |
Getter for AMDSEVSNP w/ exceptions if field has no value |
HAS_AMDSEVSNP() |
Determine if AMDSEVSNP has a value |
NestedVirtualization¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NESTEDVIRTUALIZATION() |
Getter for NESTEDVIRTUALIZATION, with configurable default |
ASK_NESTEDVIRTUALIZATION() |
Getter for NESTEDVIRTUALIZATION w/ exceptions if field has n |
HAS_NESTEDVIRTUALIZATION() |
Determine if NESTEDVIRTUALIZATION has a value |