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 |
Synopsis
- data AutoScalingPolicyDescription = AutoScalingPolicyDescription' {}
- newAutoScalingPolicyDescription :: AutoScalingPolicyDescription
- autoScalingPolicyDescription_constraints :: Lens' AutoScalingPolicyDescription (Maybe ScalingConstraints)
- autoScalingPolicyDescription_rules :: Lens' AutoScalingPolicyDescription (Maybe [ScalingRule])
- autoScalingPolicyDescription_status :: Lens' AutoScalingPolicyDescription (Maybe AutoScalingPolicyStatus)
Documentation
data AutoScalingPolicyDescription Source #
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
See: newAutoScalingPolicyDescription
smart constructor.
AutoScalingPolicyDescription' | |
|
Instances
newAutoScalingPolicyDescription :: AutoScalingPolicyDescription Source #
Create a value of AutoScalingPolicyDescription
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:constraints:AutoScalingPolicyDescription'
, autoScalingPolicyDescription_constraints
- The upper and lower EC2 instance limits for an automatic scaling policy.
Automatic scaling activity will not cause an instance group to grow
above or below these limits.
$sel:rules:AutoScalingPolicyDescription'
, autoScalingPolicyDescription_rules
- The scale-in and scale-out rules that comprise the automatic scaling
policy.
$sel:status:AutoScalingPolicyDescription'
, autoScalingPolicyDescription_status
- The status of an automatic scaling policy.
autoScalingPolicyDescription_constraints :: Lens' AutoScalingPolicyDescription (Maybe ScalingConstraints) Source #
The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
autoScalingPolicyDescription_rules :: Lens' AutoScalingPolicyDescription (Maybe [ScalingRule]) Source #
The scale-in and scale-out rules that comprise the automatic scaling policy.
autoScalingPolicyDescription_status :: Lens' AutoScalingPolicyDescription (Maybe AutoScalingPolicyStatus) Source #
The status of an automatic scaling policy.