Interface CfnInstance.ICreditSpecificationProperty
Specifies the credit option for CPU usage of a T instance.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICreditSpecificationProperty
Syntax (vb)
Public Interface ICreditSpecificationProperty
Remarks
CreditSpecification
is a property of the AWS::EC2::Instance resource.
For more information, see Burstable performance instances in the Amazon EC2 User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var creditSpecificationProperty = new CreditSpecificationProperty {
CpuCredits = "cpuCredits"
};
Synopsis
Properties
CpuCredits | The credit option for CPU usage of the instance. |
Properties
CpuCredits
The credit option for CPU usage of the instance.
virtual string CpuCredits { get; }
Property Value
System.String
Remarks
Valid values: standard
| unlimited
T3 instances with host
tenancy do not support the unlimited
CPU credit option.