Class: Aws::EC2::Types::CpuOptionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CpuOptionsRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#amd_sev_snp ⇒ String
Indicates whether to enable the instance for AMD SEV-SNP.
-
#core_count ⇒ Integer
The number of CPU cores for the instance.
-
#nested_virtualization ⇒ String
Indicates whether to enable the instance for nested virtualization.
-
#threads_per_core ⇒ Integer
The number of threads per CPU core.
Instance Attribute Details
#amd_sev_snp ⇒ String
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.
8564 8565 8566 8567 8568 8569 8570 8571 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8564 class CpuOptionsRequest < Struct.new( :core_count, :threads_per_core, :amd_sev_snp, :nested_virtualization) SENSITIVE = [] include Aws::Structure end |
#core_count ⇒ Integer
The number of CPU cores for the instance.
8564 8565 8566 8567 8568 8569 8570 8571 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8564 class CpuOptionsRequest < Struct.new( :core_count, :threads_per_core, :amd_sev_snp, :nested_virtualization) SENSITIVE = [] include Aws::Structure end |
#nested_virtualization ⇒ String
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.
8564 8565 8566 8567 8568 8569 8570 8571 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8564 class CpuOptionsRequest < Struct.new( :core_count, :threads_per_core, :amd_sev_snp, :nested_virtualization) SENSITIVE = [] include Aws::Structure end |
#threads_per_core ⇒ 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.
8564 8565 8566 8567 8568 8569 8570 8571 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8564 class CpuOptionsRequest < Struct.new( :core_count, :threads_per_core, :amd_sev_snp, :nested_virtualization) SENSITIVE = [] include Aws::Structure end |