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)


39201
39202
39203
39204
39205
39206
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39201

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


39201
39202
39203
39204
39205
39206
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 39201

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