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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


42408
42409
42410
42411
42412
42413
# File 'lib/aws-sdk-ec2/types.rb', line 42408

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


42408
42409
42410
42411
42412
42413
# File 'lib/aws-sdk-ec2/types.rb', line 42408

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