Class: Aws::SecurityHub::Types::AwsEc2LaunchTemplateDataCpuOptionsDetails

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

Specifies the CPU options for an Amazon EC2 instance. For more information, see [Optimize CPU options] in the *Amazon Elastic Compute Cloud User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#core_countInteger

The number of CPU cores for the instance.

Returns:

  • (Integer)


7045
7046
7047
7048
7049
7050
# File 'lib/aws-sdk-securityhub/types.rb', line 7045

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

#threads_per_coreInteger

The number of threads per CPU core. A value of ‘1` disables multithreading for the instance, The default value is `2`.

Returns:

  • (Integer)


7045
7046
7047
7048
7049
7050
# File 'lib/aws-sdk-securityhub/types.rb', line 7045

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