Class CfnInstance.CreditSpecificationProperty
Specifies the credit option for CPU usage of a T instance.
Inheritance
System.Object
CfnInstance.CreditSpecificationProperty
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CreditSpecificationProperty : Object, CfnInstance.ICreditSpecificationProperty
Syntax (vb)
Public Class CreditSpecificationProperty
Inherits Object
Implements CfnInstance.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
Constructors
CreditSpecificationProperty() |
Properties
CpuCredits | The credit option for CPU usage of the instance. |
Constructors
CreditSpecificationProperty()
public CreditSpecificationProperty()
Properties
CpuCredits
The credit option for CPU usage of the instance.
public string CpuCredits { get; set; }
Property Value
System.String
Remarks
Valid values: standard
| unlimited
T3 instances with host
tenancy do not support the unlimited
CPU credit option.