Skip to content

feat(docdb): allow setting log retention - #18120

Merged
mergify[bot] merged 3 commits into
aws:masterfrom
jumic:docdb-logs-retention
Dec 22, 2021
Merged

mergify[bot] merged 3 commits into
aws:masterfrom
jumic:docdb-logs-retention

Conversation

@jumic

@jumic jumic commented Dec 21, 2021

Copy link
Copy Markdown
Contributor

Provide an option to configure the number of days log events are kept in CloudWatch Logs.
Properties cloudwatchLogsRetention and cloudwatchLogsRetentionRole are added to DatabaseClusterProps.

Closes #13191.


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

@gitpod-io

gitpod-io Bot commented Dec 21, 2021

Copy link
Copy Markdown

@github-actions github-actions Bot added the @aws-cdk/aws-docdb Related to Amazon DocumentDB label Dec 21, 2021

@skinny85 skinny85 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great @jumic! Just a small naming comment.

@mergify
mergify Bot dismissed skinny85’s stale review December 21, 2021 22:07

Pull request has been modified.

@jumic
jumic requested a review from skinny85 December 21, 2021 22:08
@skinny85 skinny85 changed the title feat(docdb): logs retention option feat(docdb): allow setting log retention Dec 21, 2021

@skinny85 skinny85 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You missed changing the docs, and I missed a redundant condition in an if 😃.

Comment thread packages/@aws-cdk/aws-docdb/README.md Resolved
@mergify
mergify Bot dismissed skinny85’s stale review December 21, 2021 22:34

Pull request has been modified.

@jumic

jumic commented Dec 21, 2021

Copy link
Copy Markdown
Contributor Author

Thanks for your feedback. The suggested changes have been implemented. :)

@jumic
jumic requested a review from skinny85 December 21, 2021 22:39
@aws-cdk-automation

Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 1ce9273
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@skinny85 skinny85 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@mergify
mergify Bot merged commit 002202f into aws:master Dec 22, 2021
@mergify

mergify Bot commented Dec 22, 2021

Copy link
Copy Markdown
Contributor

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
Provide an option to configure the number of days log events are kept in CloudWatch Logs.
Properties `cloudwatchLogsRetention` and `cloudwatchLogsRetentionRole` are added to `DatabaseClusterProps`.

Closes aws#13191.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
Provide an option to configure the number of days log events are kept in CloudWatch Logs.
Properties `cloudwatchLogsRetention` and `cloudwatchLogsRetentionRole` are added to `DatabaseClusterProps`.

Closes aws#13191.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/aws-docdb Related to Amazon DocumentDB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-docdb): bring cloudwatch support on aws-docdb DatabaseCluster

3 participants