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

aws-cdk-lib.aws_rds: 'storage_type' and 'DatabaseClusterType' not found #26659

Closed
nassim-reply opened this issue Aug 7, 2023 · 1 comment
Closed
Labels
aws-cdk-lib Related to the aws-cdk-lib package documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged.

Comments

@nassim-reply
Copy link

nassim-reply commented Aug 7, 2023

Describe the issue

Context

cdk python
aws-cdk-lib==2.90
cdk version 2.90
aurora cluster version = 13.10

The issue

I encountered an issue while trying to implement AUROA IO-Optimized on my cluster. Indeed, it seems that neither rds.DatabaseClusterType.AURORA_IOPT1 nor storage_type exist. However, both are appearing in the documentation.

image

Workaround

I found a workaround by directly updating the L1 construct after instantiating rds.DatabaseCluster because as I know from this issue and this merge, the L1 construct has been updated to accept "aurora-iopt1" :

self._database.node.default_child.storage_type = "aurora-iopt1"

Links

https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_rds/DatabaseCluster.html
https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_rds/DBClusterStorageType.html#aws_cdk.aws_rds.DBClusterStorageType

@nassim-reply nassim-reply added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Aug 7, 2023
@github-actions github-actions bot added the aws-cdk-lib Related to the aws-cdk-lib package label Aug 7, 2023
@nassim-reply nassim-reply closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws-cdk-lib Related to the aws-cdk-lib package documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant