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

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


22489
22490
22491
22492
22493
# File 'lib/aws-sdk-ec2/types.rb', line 22489

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


22489
22490
22491
22492
22493
# File 'lib/aws-sdk-ec2/types.rb', line 22489

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