amazonka-emr-2.0: Amazon EMR 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.EMR.Types.ScalingAction

Description

 
Synopsis

Documentation

data ScalingAction Source #

The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.

See: newScalingAction smart constructor.

Constructors

ScalingAction' 

Fields

Instances

Instances details
FromJSON ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

ToJSON ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

Generic ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

Associated Types

type Rep ScalingAction :: Type -> Type #

Read ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

Show ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

NFData ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

Methods

rnf :: ScalingAction -> () #

Eq ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

Hashable ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

type Rep ScalingAction Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingAction

type Rep ScalingAction = D1 ('MetaData "ScalingAction" "Amazonka.EMR.Types.ScalingAction" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "ScalingAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "market") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MarketType)) :*: S1 ('MetaSel ('Just "simpleScalingPolicyConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SimpleScalingPolicyConfiguration)))

newScalingAction Source #

Create a value of ScalingAction 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:market:ScalingAction', scalingAction_market - Not available for instance groups. Instance groups use the market type specified for the group.

$sel:simpleScalingPolicyConfiguration:ScalingAction', scalingAction_simpleScalingPolicyConfiguration - The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.

scalingAction_market :: Lens' ScalingAction (Maybe MarketType) Source #

Not available for instance groups. Instance groups use the market type specified for the group.

scalingAction_simpleScalingPolicyConfiguration :: Lens' ScalingAction SimpleScalingPolicyConfiguration Source #

The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.