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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchTemplate.CreditSpecificationPropertystatic final classAn implementation forCfnLaunchTemplate.CreditSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpuCredits
The credit option for CPU usage of a T instance.Valid values:
standard|unlimited- See Also:
-
builder
-