libZSservicesZSamazonka-kafkaconnectZSamazonka-kafkaconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.KafkaConnect.Types.AutoScaling

Description

 
Synopsis

Documentation

data AutoScaling Source #

Specifies how the connector scales.

See: newAutoScaling smart constructor.

Constructors

AutoScaling' 

Fields

Instances

Instances details
Eq AutoScaling Source # 
Instance details

Defined in Amazonka.KafkaConnect.Types.AutoScaling

Read AutoScaling Source # 
Instance details

Defined in Amazonka.KafkaConnect.Types.AutoScaling

Show AutoScaling Source # 
Instance details

Defined in Amazonka.KafkaConnect.Types.AutoScaling

Generic AutoScaling Source # 
Instance details

Defined in Amazonka.KafkaConnect.Types.AutoScaling

Associated Types

type Rep AutoScaling :: Type -> Type #

NFData AutoScaling Source # 
Instance details

Defined in Amazonka.KafkaConnect.Types.AutoScaling

Methods

rnf :: AutoScaling -> () #

Hashable AutoScaling Source # 
Instance details

Defined in Amazonka.KafkaConnect.Types.AutoScaling

ToJSON AutoScaling Source # 
Instance details

Defined in Amazonka.KafkaConnect.Types.AutoScaling

type Rep AutoScaling Source # 
Instance details

Defined in Amazonka.KafkaConnect.Types.AutoScaling

type Rep AutoScaling = D1 ('MetaData "AutoScaling" "Amazonka.KafkaConnect.Types.AutoScaling" "libZSservicesZSamazonka-kafkaconnectZSamazonka-kafkaconnect" 'False) (C1 ('MetaCons "AutoScaling'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "scaleInPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScaleInPolicy)) :*: S1 ('MetaSel ('Just "scaleOutPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScaleOutPolicy))) :*: (S1 ('MetaSel ('Just "maxWorkerCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: (S1 ('MetaSel ('Just "mcuCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "minWorkerCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))

newAutoScaling Source #

Create a value of AutoScaling 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:scaleInPolicy:AutoScaling', autoScaling_scaleInPolicy - The sacle-in policy for the connector.

$sel:scaleOutPolicy:AutoScaling', autoScaling_scaleOutPolicy - The sacle-out policy for the connector.

$sel:maxWorkerCount:AutoScaling', autoScaling_maxWorkerCount - The maximum number of workers allocated to the connector.

$sel:mcuCount:AutoScaling', autoScaling_mcuCount - The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.

$sel:minWorkerCount:AutoScaling', autoScaling_minWorkerCount - The minimum number of workers allocated to the connector.

autoScaling_scaleInPolicy :: Lens' AutoScaling (Maybe ScaleInPolicy) Source #

The sacle-in policy for the connector.

autoScaling_scaleOutPolicy :: Lens' AutoScaling (Maybe ScaleOutPolicy) Source #

The sacle-out policy for the connector.

autoScaling_maxWorkerCount :: Lens' AutoScaling Natural Source #

The maximum number of workers allocated to the connector.

autoScaling_mcuCount :: Lens' AutoScaling Natural Source #

The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.

autoScaling_minWorkerCount :: Lens' AutoScaling Natural Source #

The minimum number of workers allocated to the connector.