EC2.Client.
get_default_credit_specification
(**kwargs)¶Describes the default credit option for CPU usage of a burstable performance instance family.
For more information, see Burstable performance instances in the Amazon EC2 User Guide .
See also: AWS API Documentation
Request Syntax
response = client.get_default_credit_specification(
DryRun=True|False,
InstanceFamily='t2'|'t3'|'t3a'|'t4g'
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The instance family.
dict
Response Syntax
{
'InstanceFamilyCreditSpecification': {
'InstanceFamily': 't2'|'t3'|'t3a'|'t4g',
'CpuCredits': 'string'
}
}
Response Structure
(dict) --
InstanceFamilyCreditSpecification (dict) --
The default credit option for CPU usage of the instance family.
InstanceFamily (string) --
The instance family.
CpuCredits (string) --
The default credit option for CPU usage of the instance family. Valid values are standard
and unlimited
.