Skip to content
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

addMaxServerlessDatabaseCapacityAlarm requires deprecated UsageCountThreshold use #610

Open
niqo01 opened this issue Dec 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@niqo01
Copy link

niqo01 commented Dec 7, 2024

Version

9.1.1

Steps and/or minimal code example to reproduce

  1. import monitoring cdk library version 9.1.1 using java
  2. Create an AuroraClusterMonitoringProps builder and call addMaxServerlessDatabaseCapacityAlarm

Notice that addMaxServerlessDatabaseCapacityAlarm java method signature uses UsageCountThreshold:
public Builder addMaxServerlessDatabaseCapacityAlarm(Map<String, ? extends UsageCountThreshold> addMaxServerlessDatabaseCapacityAlarm) {

Expected behavior

addMaxServerlessDatabaseCapacityAlarm should not require uses of deprecated classes or it should be a deprecated method as well.

Actual behavior

addMaxServerlessDatabaseCapacityAlarm uses deprecated class

Other details

No response

@niqo01 niqo01 added the bug Something isn't working label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant