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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#core_countInteger

The number of CPU cores for the instance.

Returns:

  • (Integer)


7042
7043
7044
7045
7046
7047
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7042

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)


7042
7043
7044
7045
7046
7047
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7042

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