Class CfnLaunchTemplate.CreditSpecificationProperty
Specifies the credit option for CPU usage of a T2, T3, or T3a instance.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLaunchTemplate.CreditSpecificationProperty : CfnLaunchTemplate.ICreditSpecificationProperty
Syntax (vb)
Public Class CfnLaunchTemplate.CreditSpecificationProperty Implements CfnLaunchTemplate.ICreditSpecificationProperty
Remarks
CreditSpecification is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .
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() | Specifies the credit option for CPU usage of a T2, T3, or T3a instance. |
Properties
| CpuCredits | The credit option for CPU usage of a T instance. |
Constructors
CreditSpecificationProperty()
Specifies the credit option for CPU usage of a T2, T3, or T3a instance.
public CreditSpecificationProperty()
Remarks
CreditSpecification is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .
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"
};
Properties
CpuCredits
The credit option for CPU usage of a T instance.
public string? CpuCredits { get; set; }