-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AutoScaling: Validate use of Cooldown #32667
Comments
An example of some synthesized CloudFormation containing
|
@ryanwilliams83 , thanks for reaching out. Please help me re-iterate on your ask here -
while in Cloudformation docs, its clearly mentioned that
|
@khushail, please disregard the
So to reiterate,
|
Thanks for clarification there @ryanwilliams83 . Regarding your requests -
Hope that would be helpful. |
Describe the feature
Cooldown
only applies to simple scaling policy.https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-scalingpolicy.html#cfn-autoscaling-scalingpolicy-cooldown
Please consider enhancing CDK to trap for the following configuration when executed with the
--ci
switch.To inform users that the cooldown will not have any effect.
asg.ScaleOnCpuUtilization('ALowCpuLoad', {
cooldown = cdk.Duration.minutes(666), // Has no effect when the policyType is
TargetTrackingScaling
estimatedInstanceWarmup = cdk.Duration.minutes(10),
targetUtilizationPercent: 45
});
Use Case
I was mislead by the CDK intrinsic documentation.
Cooldown: Period after a scaling completes before another scaling activity can start.
Default: The default cooldown configured on the AutoScalingGroup.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.165.0
Environment details (OS name and version, etc.)
Windows, C#, Constructs 10.4.2
The text was updated successfully, but these errors were encountered: