libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
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.AutoScaling.Types.EnabledMetric

Description

 
Synopsis

Documentation

data EnabledMetric Source #

Describes an enabled metric.

See: newEnabledMetric smart constructor.

Constructors

EnabledMetric' 

Fields

  • granularity :: Maybe Text

    The granularity of the metric. The only valid value is 1Minute.

  • metric :: Maybe Text

    One of the following metrics:

    • GroupMinSize
    • GroupMaxSize
    • GroupDesiredCapacity
    • GroupInServiceInstances
    • GroupPendingInstances
    • GroupStandbyInstances
    • GroupTerminatingInstances
    • GroupTotalInstances
    • GroupInServiceCapacity
    • GroupPendingCapacity
    • GroupStandbyCapacity
    • GroupTerminatingCapacity
    • GroupTotalCapacity
    • WarmPoolDesiredCapacity
    • WarmPoolWarmedCapacity
    • WarmPoolPendingCapacity
    • WarmPoolTerminatingCapacity
    • WarmPoolTotalCapacity
    • GroupAndWarmPoolDesiredCapacity
    • GroupAndWarmPoolTotalCapacity

Instances

Instances details
Eq EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Read EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Show EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Generic EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Associated Types

type Rep EnabledMetric :: Type -> Type #

NFData EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Methods

rnf :: EnabledMetric -> () #

Hashable EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

FromXML EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

type Rep EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

type Rep EnabledMetric = D1 ('MetaData "EnabledMetric" "Amazonka.AutoScaling.Types.EnabledMetric" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "EnabledMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "granularity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEnabledMetric :: EnabledMetric Source #

Create a value of EnabledMetric 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:granularity:EnabledMetric', enabledMetric_granularity - The granularity of the metric. The only valid value is 1Minute.

$sel:metric:EnabledMetric', enabledMetric_metric - One of the following metrics:

  • GroupMinSize
  • GroupMaxSize
  • GroupDesiredCapacity
  • GroupInServiceInstances
  • GroupPendingInstances
  • GroupStandbyInstances
  • GroupTerminatingInstances
  • GroupTotalInstances
  • GroupInServiceCapacity
  • GroupPendingCapacity
  • GroupStandbyCapacity
  • GroupTerminatingCapacity
  • GroupTotalCapacity
  • WarmPoolDesiredCapacity
  • WarmPoolWarmedCapacity
  • WarmPoolPendingCapacity
  • WarmPoolTerminatingCapacity
  • WarmPoolTotalCapacity
  • GroupAndWarmPoolDesiredCapacity
  • GroupAndWarmPoolTotalCapacity

enabledMetric_granularity :: Lens' EnabledMetric (Maybe Text) Source #

The granularity of the metric. The only valid value is 1Minute.

enabledMetric_metric :: Lens' EnabledMetric (Maybe Text) Source #

One of the following metrics:

  • GroupMinSize
  • GroupMaxSize
  • GroupDesiredCapacity
  • GroupInServiceInstances
  • GroupPendingInstances
  • GroupStandbyInstances
  • GroupTerminatingInstances
  • GroupTotalInstances
  • GroupInServiceCapacity
  • GroupPendingCapacity
  • GroupStandbyCapacity
  • GroupTerminatingCapacity
  • GroupTotalCapacity
  • WarmPoolDesiredCapacity
  • WarmPoolWarmedCapacity
  • WarmPoolPendingCapacity
  • WarmPoolTerminatingCapacity
  • WarmPoolTotalCapacity
  • GroupAndWarmPoolDesiredCapacity
  • GroupAndWarmPoolTotalCapacity