You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i use CDK for many ASGs.
We have a CDK implementation in Java, and since (insert the version here ^^) we've been getting lots of console warnings like this:
[WARNING] aws-cdk-lib.aws_autoscaling.StepScalingActionProps#cooldown is deprecated.
cooldown is not valid with step scaling action
This API will be removed in the next major release.
I should add that I'm not setting StepScalingActionProps#cooldown, and I don't get this warning in TypeScript with the same implementation.
I think it appears due to the Java translation with jsii that maps every property, even unfilled ones.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i use CDK for many ASGs.
We have a CDK implementation in Java, and since (insert the version here ^^) we've been getting lots of console warnings like this:
I should add that I'm not setting StepScalingActionProps#cooldown, and I don't get this warning in TypeScript with the same implementation.
I think it appears due to the Java translation with jsii that maps every property, even unfilled ones.
Any advice on how to silence this warning? :)
Beta Was this translation helpful? Give feedback.
All reactions