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_countInteger

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

Returns:

  • (Integer)


55580
55581
55582
55583
55584
55585
55586
55587
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 55580

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

#dry_runBoolean

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)


55580
55581
55582
55583
55584
55585
55586
55587
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 55580

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

#instance_idString

The ID of the instance to update.

Returns:

  • (String)


55580
55581
55582
55583
55584
55585
55586
55587
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 55580

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

#threads_per_coreInteger

The number of threads to run for each CPU core.

Returns:

  • (Integer)


55580
55581
55582
55583
55584
55585
55586
55587
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 55580

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