Class: Aws::EC2::Types::InstanceCreditSpecificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::InstanceCreditSpecificationRequest
- 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
-
#cpu_credits ⇒ String
The credit option for CPU usage of the instance.
-
#instance_id ⇒ String
The ID of the instance.
Instance Attribute Details
#cpu_credits ⇒ String
The credit option for CPU usage of the instance. Valid values are ‘standard` and `unlimited`.
22641 22642 22643 22644 22645 |
# File 'lib/aws-sdk-ec2/types.rb', line 22641 class InstanceCreditSpecificationRequest < Struct.new( :instance_id, :cpu_credits) include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance.
22641 22642 22643 22644 22645 |
# File 'lib/aws-sdk-ec2/types.rb', line 22641 class InstanceCreditSpecificationRequest < Struct.new( :instance_id, :cpu_credits) include Aws::Structure end |