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();
 

See Also: