Class: Aws::EC2::Types::InstanceCreditSpecificationRequest

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

Overview

Describes the credit option for CPU usage of a burstable performance instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_creditsString

The credit option for CPU usage of the instance.

Valid values: standard | unlimited

T3 instances with host tenancy do not support the unlimited CPU credit option.

Returns:

  • (String)


39370
39371
39372
39373
39374
39375
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39370

class InstanceCreditSpecificationRequest < Struct.new(
  :instance_id,
  :cpu_credits)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


39370
39371
39372
39373
39374
39375
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39370

class InstanceCreditSpecificationRequest < Struct.new(
  :instance_id,
  :cpu_credits)
  SENSITIVE = []
  include Aws::Structure
end