stratosphere-0.1.3: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.ResourceProperties.StepAdjustments

Description

StepAdjustments is a property of the AWS::AutoScaling::ScalingPolicy resource that describes a scaling adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm. For more information, see StepAdjustment in the Auto Scaling API Reference.

Synopsis

Documentation

data StepAdjustments Source #

Full data type definition for StepAdjustments. See stepAdjustments for a more convenient constructor.

Instances

Show StepAdjustments Source # 
Generic StepAdjustments Source # 
ToJSON StepAdjustments Source # 
FromJSON StepAdjustments Source # 
type Rep StepAdjustments Source # 
type Rep StepAdjustments = D1 (MetaData "StepAdjustments" "Stratosphere.ResourceProperties.StepAdjustments" "stratosphere-0.1.3-HXdWlc1MCh5Gppf0ypvPw" False) (C1 (MetaCons "StepAdjustments" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_stepAdjustmentsMetricIntervalLowerBound") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Double'))) ((:*:) (S1 (MetaSel (Just Symbol "_stepAdjustmentsMetricIntervalUpperBound") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Double'))) (S1 (MetaSel (Just Symbol "_stepAdjustmentsScalingAdjustment") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Integer'))))))

stepAdjustments Source #

Constructor for StepAdjustments containing required fields as arguments.

saMetricIntervalLowerBound :: Lens' StepAdjustments (Maybe Double') Source #

The lower bound for the difference between the breach threshold and the CloudWatch metric. If the metric value exceeds the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

saMetricIntervalUpperBound :: Lens' StepAdjustments (Maybe Double') Source #

The upper bound for the difference between the breach threshold and the CloudWatch metric. If the metric value exceeds the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

saScalingAdjustment :: Lens' StepAdjustments (Val Integer') Source #

The amount by which to scale, based on the value that you specified in the AdjustmentType property. A positive value adds to the current capacity and a negative number subtracts from the current capacity.