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)


38918
38919
38920
38921
38922
38923
# File 'lib/aws-sdk-ec2/types.rb', line 38918

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


38918
38919
38920
38921
38922
38923
# File 'lib/aws-sdk-ec2/types.rb', line 38918

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