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

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

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 InstanceCreditSpecificationRequest data as a hash:

{
  instance_id: "String",
  cpu_credits: "String",
}

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)


18196
18197
18198
18199
18200
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18196

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


18196
18197
18198
18199
18200
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18196

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