interface CreditSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnLaunchTemplatePropsMixin.CreditSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnLaunchTemplatePropsMixin_CreditSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.CreditSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnLaunchTemplatePropsMixin.CreditSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnLaunchTemplatePropsMixin » CreditSpecificationProperty |
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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const creditSpecificationProperty: ec2_mixins.CfnLaunchTemplatePropsMixin.CreditSpecificationProperty = {
cpuCredits: 'cpuCredits',
};
Properties
| Name | Type | Description |
|---|---|---|
| cpu | string | The credit option for CPU usage of a T instance. |
cpuCredits?
Type:
string
(optional)
The credit option for CPU usage of a T instance.
Valid values: standard | unlimited

.NET
Go
Java
Python
TypeScript