Skip to content

Commit

Permalink
chore(logs): migrate log retention handler (#27814)
Browse files Browse the repository at this point in the history
This PR moves the log retention handler from aws-cdk-lib to our new centralized location for custom resource handlers in the @aws-cdk package.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
colifran authored Nov 17, 2023
1 parent ff20d6b commit 1115110
Show file tree
Hide file tree
Showing 24 changed files with 36 additions and 897 deletions.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "06e556630dea1544fb71a394cf744fc6471c533769911adb44a84d795729c1f5.zip"
"S3Key": "e4afb15788ec44ed9ff3377e1d131ba2768d7b2e2931bc000d1f2005879b3035.zip"
},
"Role": {
"Fn::GetAtt": [
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ new lambda.Function(stack, 'OneYear', {
logRetention: logs.RetentionDays.ONE_YEAR,
});

new IntegTest(app, 'LambdaLogRetentionInteg', { testCases: [stack] });
new IntegTest(app, 'LambdaLogRetentionInteg', {
testCases: [stack],
diffAssets: true,
});
app.synth();

This file was deleted.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1115110

Please sign in to comment.