Interface CfnInstance.CreditSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstance.CreditSpecificationProperty.Jsii$Proxy
- Enclosing class:
- CfnInstance
@Stability(Stable)
public static interface CfnInstance.CreditSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the credit option for CPU usage of a T instance.
CreditSpecification is a property of the AWS::EC2::Instance resource.
For more information, see Burstable performance instances in the Amazon EC2 User Guide .
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstance.CreditSpecificationPropertystatic final classAn implementation forCfnInstance.CreditSpecificationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpuCredits
The credit option for CPU usage of the instance.Valid values:
standard|unlimitedT3 instances with
hosttenancy do not support theunlimitedCPU credit option. -
builder
-