Skip to content

Conversation

roger-zhangg
Copy link
Member

@roger-zhangg roger-zhangg commented Mar 11, 2025

Issue # (if applicable)

Closes #.

Reason for this change

Kinesis and DynamoDB has supported S3 as onFailureDestination.

Description of changes

The supportS3OnFailureDestination for kinesis and DynamoDB has changed to true
Tests are updated to reflect this change.

Describe any new or updated permissions being added

No permission change

Description of how you validated changes

Test are run

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 the valued-contributor [Pilot] contributed between 6-12 PRs to the CDK label Mar 11, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team March 11, 2025 18:53
@github-actions github-actions bot added the p2 label Mar 11, 2025
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)

@roger-zhangg
Copy link
Member Author

Exemption Request: We have reviewed the Readme file change for this feautre. It's still valid so we don't need a change in Readme file

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Mar 11, 2025
Copy link

codecov bot commented Mar 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.37%. Comparing base (6aca154) to head (9d45f08).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #33739   +/-   ##
=======================================
  Coverage   82.37%   82.37%           
=======================================
  Files         120      120           
  Lines        6933     6933           
  Branches     1169     1169           
=======================================
  Hits         5711     5711           
  Misses       1119     1119           
  Partials      103      103           
Flag Coverage Δ
suite.unit 82.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
packages/aws-cdk ∅ <ø> (∅)
packages/aws-cdk-lib/core 82.37% <ø> (ø)
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Mar 11, 2025
@aws-cdk-automation aws-cdk-automation removed the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Mar 11, 2025
@samson-keung
Copy link
Contributor

samson-keung commented Mar 11, 2025

@roger-zhangg We should have integ tests to ensure the CDK generated template will be deployable and ideally assert that the infrastructure behaves as expected in terms of the S3 onFailureDestination config (For example, asserting that failures are indeed flowing to S3).

A related existing test can be found here but it does not have assertions unfortunately.

@samson-keung
Copy link
Contributor

@roger-zhangg I see some READMEs are outdated as they only mentioned SNS or SQS as possible onFailure destination:

https://github.com/search?q=repo%3Aaws%2Faws-cdk%20%22An%20Amazon%20SQS%20queue%20or%20Amazon%20SNS%20topic%20destination%20for%20discarded%20records.%22&type=code

https://github.com/search?q=repo%3Aaws%2Faws-cdk+%22the+record+will+be+sent+to+SQS+queue+or+SNS+topic%22&type=code

I am okay with updating the docs in separate PR though if you prefer.

@aws-cdk-automation aws-cdk-automation dismissed their stale review March 11, 2025 22:18

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

Copy link
Contributor

@samson-keung samson-keung left a comment

Choose a reason for hiding this comment

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

LGTM.

@samson-keung samson-keung removed the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Mar 12, 2025
@samson-keung samson-keung self-assigned this Mar 12, 2025
Copy link
Contributor

mergify bot commented Mar 12, 2025

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

Copy link
Member

Choose a reason for hiding this comment

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

nit: small typo on the file name.

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

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

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

Copy link
Contributor

mergify bot commented Mar 12, 2025

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

@mergify mergify bot merged commit 3f1fecf into aws:main Mar 12, 2025
21 checks passed
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 Mar 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

p2 valued-contributor [Pilot] contributed between 6-12 PRs to the CDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants