Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ScalingPolicy = ScalingPolicy' {}
- newScalingPolicy :: Text -> PolicyType -> ScalingPolicy
- scalingPolicy_targetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration)
- scalingPolicy_policyName :: Lens' ScalingPolicy Text
- scalingPolicy_policyType :: Lens' ScalingPolicy PolicyType
Documentation
data ScalingPolicy Source #
Represents a scaling policy.
See: newScalingPolicy
smart constructor.
ScalingPolicy' | |
|
Instances
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.
scalingPolicy_policyType :: Lens' ScalingPolicy PolicyType Source #
The type of scaling policy.