

# AwsEc2LaunchTemplateDataCreditSpecificationDetails
<a name="API_AwsEc2LaunchTemplateDataCreditSpecificationDetails"></a>

 Specifies the credit option for CPU usage of a T2, T3, or T3a Amazon EC2 instance. 

## Contents
<a name="API_AwsEc2LaunchTemplateDataCreditSpecificationDetails_Contents"></a>

 ** CpuCredits **   <a name="securityhub-Type-AwsEc2LaunchTemplateDataCreditSpecificationDetails-CpuCredits"></a>
 The credit option for CPU usage of a T instance.   
Type: String  
Pattern: `.*\S.*`   
Required: No

## See Also
<a name="API_AwsEc2LaunchTemplateDataCreditSpecificationDetails_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/securityhub-2018-10-26/AwsEc2LaunchTemplateDataCreditSpecificationDetails) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/securityhub-2018-10-26/AwsEc2LaunchTemplateDataCreditSpecificationDetails) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/securityhub-2018-10-26/AwsEc2LaunchTemplateDataCreditSpecificationDetails) 