Show / Hide Table of Contents

Class CfnInstance.CreditSpecificationProperty

Specifies the credit option for CPU usage of a T instance.

Inheritance
object
CfnInstance.CreditSpecificationProperty
Implements
CfnInstance.ICreditSpecificationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstance.CreditSpecificationProperty : CfnInstance.ICreditSpecificationProperty
Syntax (vb)
Public Class CfnInstance.CreditSpecificationProperty Implements CfnInstance.ICreditSpecificationProperty
Remarks

CreditSpecification is a property of the AWS::EC2::Instance resource.

For more information, see Burstable performance instances in the Amazon EC2 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-creditspecification.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.EC2;

             var creditSpecificationProperty = new CreditSpecificationProperty {
                 CpuCredits = "cpuCredits"
             };

Synopsis

Constructors

CreditSpecificationProperty()

Specifies the credit option for CPU usage of a T instance.

Properties

CpuCredits

The credit option for CPU usage of the instance.

Constructors

CreditSpecificationProperty()

Specifies the credit option for CPU usage of a T instance.

public CreditSpecificationProperty()
Remarks

CreditSpecification is a property of the AWS::EC2::Instance resource.

For more information, see Burstable performance instances in the Amazon EC2 User Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-creditspecification.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.EC2;

             var creditSpecificationProperty = new CreditSpecificationProperty {
                 CpuCredits = "cpuCredits"
             };

Properties

CpuCredits

The credit option for CPU usage of the instance.

public string? CpuCredits { get; set; }
Property Value

string

Remarks

Valid values: standard | unlimited

T3 instances with host tenancy do not support the unlimited CPU credit option.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-creditspecification.html#cfn-ec2-instance-creditspecification-cpucredits

Implements

CfnInstance.ICreditSpecificationProperty
Back to top Generated by DocFX