(aws-rds): Serverless Cluster - ServerlessCluster with enableCloudwatchLogsExports
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
Hello,
Would recommend that [ServerlessCluster](https://github.com/aws/aws-cdk/blob/v1.176.0/packages/@aws-cdk/aws-rds/lib/serverless-cluster.ts#L484) props allows how to export to RDS to CloudwathLogs.
### Use Case
Teams need to define audit or error logs for monitoring
### Proposed Solution
Would recommend to define the same logexport and retention policies similar to [DatabaseCluster](https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-rds.DatabaseCluster.html)
### Other Information
Currently, enforcing this through Aspects
### Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CDK version used
2.45.0
### Environment details (OS name and version, etc.)
OSX
Contributor guide
Research direction
Start with packages/@aws-cdk/aws-rds/lib/serverless-cluster.ts, especially the ServerlessCluster props, and compare them with the DatabaseCluster log export and retention options linked in the issue. Confirm how the existing DatabaseCluster behavior is represented, then consider the work complete when ServerlessCluster supports equivalent CloudWatch log export and retention configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, database
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100