Class: Aws::EC2::Types::CpuOptionsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#amd_sev_snpString

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].

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html

Returns:

  • (String)


6629
6630
6631
6632
6633
6634
6635
# File 'lib/aws-sdk-ec2/types.rb', line 6629

class CpuOptionsRequest < Struct.new(
  :core_count,
  :threads_per_core,
  :amd_sev_snp)
  SENSITIVE = []
  include Aws::Structure
end

#core_countInteger

The number of CPU cores for the instance.

Returns:

  • (Integer)


6629
6630
6631
6632
6633
6634
6635
# File 'lib/aws-sdk-ec2/types.rb', line 6629

class CpuOptionsRequest < Struct.new(
  :core_count,
  :threads_per_core,
  :amd_sev_snp)
  SENSITIVE = []
  include Aws::Structure
end

#threads_per_coreInteger

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`.

Returns:

  • (Integer)


6629
6630
6631
6632
6633
6634
6635
# File 'lib/aws-sdk-ec2/types.rb', line 6629

class CpuOptionsRequest < Struct.new(
  :core_count,
  :threads_per_core,
  :amd_sev_snp)
  SENSITIVE = []
  include Aws::Structure
end