aws-cdk-lib.aws_ec2.CfnLaunchTemplate.CreditSpecificationProperty

interface CreditSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnLaunchTemplate.CreditSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnLaunchTemplate_CreditSpecificationProperty
Javasoftware.amazon.awscdk.services.ec2.CfnLaunchTemplate.CreditSpecificationProperty
Pythonaws_cdk.aws_ec2.CfnLaunchTemplate.CreditSpecificationProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnLaunchTemplate » 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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
const creditSpecificationProperty: ec2.CfnLaunchTemplate.CreditSpecificationProperty = {
  cpuCredits: 'cpuCredits',
};

Properties

NameTypeDescription
cpuCredits?stringThe 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