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 class
A builder forCfnInstance.CreditSpecificationProperty
static final class
An 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
|unlimited
T3 instances with
host
tenancy do not support theunlimited
CPU credit option. -
builder
-