libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans
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.AutoScalingPlans.Types.ScalingPolicy

Description

 
Synopsis

Documentation

data ScalingPolicy Source #

Represents a scaling policy.

See: newScalingPolicy smart constructor.

Constructors

ScalingPolicy' 

Fields

Instances

Instances details
Eq ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPolicy

Read ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPolicy

Show ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPolicy

Generic ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPolicy

Associated Types

type Rep ScalingPolicy :: Type -> Type #

NFData ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPolicy

Methods

rnf :: ScalingPolicy -> () #

Hashable ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPolicy

FromJSON ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPolicy

type Rep ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.ScalingPolicy

type Rep ScalingPolicy = D1 ('MetaData "ScalingPolicy" "Amazonka.AutoScalingPlans.Types.ScalingPolicy" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "ScalingPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetTrackingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetTrackingConfiguration)) :*: (S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "policyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PolicyType))))

newScalingPolicy Source #

Create a value of ScalingPolicy 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:targetTrackingConfiguration:ScalingPolicy', scalingPolicy_targetTrackingConfiguration - The target tracking scaling policy. Includes support for predefined or customized metrics.

$sel:policyName:ScalingPolicy', scalingPolicy_policyName - The name of the scaling policy.

$sel:policyType:ScalingPolicy', scalingPolicy_policyType - The type of scaling policy.

scalingPolicy_targetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration) Source #

The target tracking scaling policy. Includes support for predefined or customized metrics.

scalingPolicy_policyName :: Lens' ScalingPolicy Text Source #

The name of the scaling policy.