Skip to content

Conversation

@sjakthol
Copy link
Contributor

@sjakthol sjakthol commented Jul 22, 2025

Issue # (if applicable)

Closes #35018.

Reason for this change

Add support for newly launched Aurora CloudWatch log exports.

Description of changes

This commit updates the list of allowed CloudWatch log exports to match the values accepted by the RDS API:

The following values are valid for each DB engine:

  • Aurora MySQL - audit | error | general | instance | slowquery | iam-db-auth-error
  • Aurora PostgreSQL - instance | postgresql | iam-db-auth-error

https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html

Tests and documentation updated to consider this change as well.

Describe any new or updated permissions being added

N/A

Description of how you validated changes

Unit tests have been updated to check that the new log export names are accepted. Integration tests added to verify that both CDK and RDS accept all the supported log exports.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Jul 22, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team July 22, 2025 05:12
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@sjakthol sjakthol marked this pull request as draft July 22, 2025 13:52
@sjakthol sjakthol force-pushed the rds-log-exports-sync branch from 39618c2 to f32c7db Compare July 22, 2025 15:36
@sjakthol sjakthol changed the title feat(aws-rds): support instance and iam-db-auth-error CloudWatch log exports feat(rds): support instance and iam-db-auth-error CloudWatch log exports Jul 22, 2025
@aws-cdk-automation aws-cdk-automation dismissed their stale review July 22, 2025 15:38

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: f32c7db
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sjakthol sjakthol marked this pull request as ready for review July 22, 2025 16:55
@sjakthol
Copy link
Contributor Author

Sorry. Had to recreate this to solve some issues. PR #35058 is the new PR for this change change.

@sjakthol sjakthol closed this Jul 24, 2025
@sjakthol sjakthol deleted the rds-log-exports-sync branch July 24, 2025 14:22
@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws-rds: support iam-db-auth-error in DatabaseCluster cloudwatchLogsExports prop

2 participants