Class CfnLaunchTemplate.CreditSpecificationProperty
Specifies the credit option for CPU usage of a T2, T3, or T3a instance.
Inheritance
System.Object
CfnLaunchTemplate.CreditSpecificationProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CreditSpecificationProperty : Object, CfnLaunchTemplate.ICreditSpecificationProperty
Syntax (vb)
Public Class CreditSpecificationProperty
Inherits Object
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() |
Properties
CpuCredits | The credit option for CPU usage of a T instance. |
Constructors
CreditSpecificationProperty()
public CreditSpecificationProperty()
Properties
CpuCredits
The credit option for CPU usage of a T instance.
public string CpuCredits { get; set; }
Property Value
System.String