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

Description

 
Synopsis

Documentation

data TargetConfiguration Source #

Information about the Convertible Reserved Instance offering.

See: newTargetConfiguration smart constructor.

Constructors

TargetConfiguration' 

Fields

  • instanceCount :: Maybe Int

    The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request

  • offeringId :: Maybe Text

    The ID of the Convertible Reserved Instance offering.

Instances

Instances details
FromXML TargetConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetConfiguration

Generic TargetConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetConfiguration

Associated Types

type Rep TargetConfiguration :: Type -> Type #

Read TargetConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetConfiguration

Show TargetConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetConfiguration

NFData TargetConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetConfiguration

Methods

rnf :: TargetConfiguration -> () #

Eq TargetConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetConfiguration

Hashable TargetConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetConfiguration

type Rep TargetConfiguration Source # 
Instance details

Defined in Amazonka.EC2.Types.TargetConfiguration

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

newTargetConfiguration :: TargetConfiguration Source #

Create a value of TargetConfiguration 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:instanceCount:TargetConfiguration', targetConfiguration_instanceCount - The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request

$sel:offeringId:TargetConfiguration', targetConfiguration_offeringId - The ID of the Convertible Reserved Instance offering.

targetConfiguration_instanceCount :: Lens' TargetConfiguration (Maybe Int) Source #

The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request

targetConfiguration_offeringId :: Lens' TargetConfiguration (Maybe Text) Source #

The ID of the Convertible Reserved Instance offering.