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

Description

 
Synopsis

Documentation

data CustomizedScalingMetricSpecification Source #

Represents a CloudWatch metric of your choosing that can be used for dynamic scaling as part of a target tracking scaling policy.

To create your customized scaling metric specification:

  • Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see Publish Custom Metrics in the Amazon CloudWatch User Guide.
  • Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases.

For information about terminology, available metrics, or how to publish new metrics, see Amazon CloudWatch Concepts in the Amazon CloudWatch User Guide.

See: newCustomizedScalingMetricSpecification smart constructor.

Constructors

CustomizedScalingMetricSpecification' 

Fields

Instances

Instances details
Eq CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

Read CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

Show CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

Generic CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

NFData CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

Hashable CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

ToJSON CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

FromJSON CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

type Rep CustomizedScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification

type Rep CustomizedScalingMetricSpecification = D1 ('MetaData "CustomizedScalingMetricSpecification" "Amazonka.AutoScalingPlans.Types.CustomizedScalingMetricSpecification" "libZSservicesZSamazonka-autoscaling-plansZSamazonka-autoscaling-plans" 'False) (C1 ('MetaCons "CustomizedScalingMetricSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDimension])) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricStatistic)))))

customizedScalingMetricSpecification_dimensions :: Lens' CustomizedScalingMetricSpecification (Maybe [MetricDimension]) Source #

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your customized scaling metric specification.