aws-cdk-lib.aws_rds: 'storage_type' and 'DatabaseClusterType' not found #26659
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.
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
norstorage_type
exist. However, both are appearing in the documentation.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
The text was updated successfully, but these errors were encountered: