aws ec2 get-default-credit-specification
Describes the default credit option for CPU usage of a burstable performance instance family. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To describe the default credit option
The following get-default-credit-specification example describes the default credit option for T2 instances.
aws ec2 get-default-credit-specification --instance-family t2Identify--instance-familyThe instance family.Its output
{
"InstanceFamilyCreditSpecification": {
"InstanceFamily": "t2",
"CpuCredits": "standard"
}
}For more information, see Configure burstable performance instances in the Amazon EC2 User Guide.
Options
--dry-runChecks whether you have the required permissions for the operation, without actually making the request, and provides an error response.--instance-familyThe instance family.