@Stability(value=Stable)
public static interface CfnLaunchTemplate.CreditSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchTemplate.CreditSpecificationProperty.Builder
A builder for
CfnLaunchTemplate.CreditSpecificationProperty |
static class |
CfnLaunchTemplate.CreditSpecificationProperty.Jsii$Proxy
An implementation for
CfnLaunchTemplate.CreditSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchTemplate.CreditSpecificationProperty.Builder |
builder() |
default String |
getCpuCredits()
The credit option for CPU usage of a T2, T3, or T3a instance.
|
@Stability(value=Stable) @Nullable default String getCpuCredits()
Valid values are standard and unlimited .
@Stability(value=Stable) static CfnLaunchTemplate.CreditSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.