Interface CfnLaunchTemplate.CreditSpecificationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLaunchTemplate.CreditSpecificationProperty.Jsii$Proxy
Enclosing class:
CfnLaunchTemplate

@Stability(Stable) public static interface CfnLaunchTemplate.CreditSpecificationProperty extends software.amazon.jsii.JsiiSerializable
Specifies the credit option for CPU usage of a T2, T3, or T3a instance.

CreditSpecification is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 CreditSpecificationProperty creditSpecificationProperty = CreditSpecificationProperty.builder()
         .cpuCredits("cpuCredits")
         .build();
 

See Also: