Class: Aws::EC2::Types::ModifyInstanceCpuOptionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#core_count ⇒ Integer

The number of CPU cores to activate for the specified instance.

Returns:

  • (Integer)


67942
67943
67944
67945
67946
67947
67948
67949
67950
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67942

class ModifyInstanceCpuOptionsRequest < Struct.new(
  :instance_id,
  :core_count,
  :threads_per_core,
  :nested_virtualization,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_run ⇒ Boolean

Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


67942
67943
67944
67945
67946
67947
67948
67949
67950
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67942

class ModifyInstanceCpuOptionsRequest < Struct.new(
  :instance_id,
  :core_count,
  :threads_per_core,
  :nested_virtualization,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#instance_id ⇒ String

The ID of the instance to update.

Returns:

  • (String)


67942
67943
67944
67945
67946
67947
67948
67949
67950
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67942

class ModifyInstanceCpuOptionsRequest < Struct.new(
  :instance_id,
  :core_count,
  :threads_per_core,
  :nested_virtualization,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#nested_virtualization ⇒ String

Indicates whether to enable or disable nested virtualization for the instance. When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.

Returns:

  • (String)


67942
67943
67944
67945
67946
67947
67948
67949
67950
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67942

class ModifyInstanceCpuOptionsRequest < Struct.new(
  :instance_id,
  :core_count,
  :threads_per_core,
  :nested_virtualization,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#threads_per_core ⇒ Integer

The number of threads to run for each CPU core.

Returns:

  • (Integer)


67942
67943
67944
67945
67946
67947
67948
67949
67950
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 67942

class ModifyInstanceCpuOptionsRequest < Struct.new(
  :instance_id,
  :core_count,
  :threads_per_core,
  :nested_virtualization,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end