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.InstanceCreditSpecification

Description

 
Synopsis

Documentation

data InstanceCreditSpecification Source #

Describes the credit option for CPU usage of a burstable performance instance.

See: newInstanceCreditSpecification smart constructor.

Constructors

InstanceCreditSpecification' 

Fields

Instances

Instances details
FromXML InstanceCreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCreditSpecification

Generic InstanceCreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCreditSpecification

Associated Types

type Rep InstanceCreditSpecification :: Type -> Type #

Read InstanceCreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCreditSpecification

Show InstanceCreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCreditSpecification

NFData InstanceCreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCreditSpecification

Eq InstanceCreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCreditSpecification

Hashable InstanceCreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCreditSpecification

type Rep InstanceCreditSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceCreditSpecification

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

newInstanceCreditSpecification :: InstanceCreditSpecification Source #

Create a value of InstanceCreditSpecification 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:InstanceCreditSpecification', instanceCreditSpecification_cpuCredits - The credit option for CPU usage of the instance.

Valid values: standard | unlimited

$sel:instanceId:InstanceCreditSpecification', instanceCreditSpecification_instanceId - The ID of the instance.

instanceCreditSpecification_cpuCredits :: Lens' InstanceCreditSpecification (Maybe Text) Source #

The credit option for CPU usage of the instance.

Valid values: standard | unlimited