| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AutoScalingPlans.Types.ScalingPolicy
Description
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.
Constructors
| ScalingPolicy' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> PolicyType | |
| -> ScalingPolicy |
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.