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: "InstanceId",
  cpu_credits: "String",
}

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 are standard and unlimited.

Returns:

  • (String)


30007
30008
30009
30010
30011
30012
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30007

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


30007
30008
30009
30010
30011
30012
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 30007

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