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

Class: Aws::EC2::Types::CreditSpecificationRequest

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

Overview

Note:

When making an API call, you may pass CreditSpecificationRequest data as a hash:

{
  cpu_credits: "String", # required
}

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 a T2 instance. Valid values are standard and unlimited.

Returns:

  • (String)


5240
5241
5242
5243
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 5240

class CreditSpecificationRequest < Struct.new(
  :cpu_credits)
  include Aws::Structure
end