You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::InstanceCreditSpecification

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 T2 instance.

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_creditsString

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Returns:

  • (String)


17348
17349
17350
17351
17352
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17348

class InstanceCreditSpecification < Struct.new(
  :instance_id,
  :cpu_credits)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


17348
17349
17350
17351
17352
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17348

class InstanceCreditSpecification < Struct.new(
  :instance_id,
  :cpu_credits)
  include Aws::Structure
end