amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.CreditSpecification

Description

 
Synopsis

Documentation

data CreditSpecification Source #

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

See: newCreditSpecification smart constructor.

Constructors

CreditSpecification' 

Fields

  • cpuCredits :: Maybe Text

    The credit option for CPU usage of a T instance.

    Valid values: standard | unlimited

Instances

Instances details
FromXML CreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.CreditSpecification

Generic CreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.CreditSpecification

Associated Types

type Rep CreditSpecification :: Type -> Type #

Read CreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.CreditSpecification

Show CreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.CreditSpecification

NFData CreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.CreditSpecification

Methods

rnf :: CreditSpecification -> () #

Eq CreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.CreditSpecification

Hashable CreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.CreditSpecification

type Rep CreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.CreditSpecification

type Rep CreditSpecification = D1 ('MetaData "CreditSpecification" "Amazonka.EC2.Types.CreditSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreditSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cpuCredits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCreditSpecification :: CreditSpecification Source #

Create a value of CreditSpecification with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cpuCredits:CreditSpecification', creditSpecification_cpuCredits - The credit option for CPU usage of a T instance.

Valid values: standard | unlimited

creditSpecification_cpuCredits :: Lens' CreditSpecification (Maybe Text) Source #

The credit option for CPU usage of a T instance.

Valid values: standard | unlimited