-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(documentDB): (Expose CACertificateIdentifier in L2 Construct) #28356
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-docdbRelated to Amazon DocumentDBRelated to Amazon DocumentDBeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
Pls expose the CloudFormation CACertificateIdentifier property on the L2 construct docDb.DatabaseCluster
Use Case
With that one does not have to use Aspects to set the ca certificate
Proposed Solution
If one can guide me I might be able to submit a PR myself.
Other Information
Right now one can use Aspects as a workaround:
import * as docDb from 'aws-cdk-lib/aws-docdb';
let database: docDb.DatabaseCluster;
// ...
cdk.Aspects.of(database).add({
visit: (node) => {
if (node instanceof docDb.CfnDBInstance) {
node.addPropertyOverride('CACertificateIdentifier', 'rds-ca-rsa2048-g1');
}
}
});Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.100.0
Environment details (OS name and version, etc.)
macOS 14.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-docdbRelated to Amazon DocumentDBRelated to Amazon DocumentDBeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2