Skip to content

Commit 6f54eff

Browse files
fix: upgrade the Deny List and Catalog Builder functions to SDK v3 (#1441)
Refactor Deny List function and Catalog Builder functions to use AWS SDK v3. Tests updated accordingly ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --------- Co-authored-by: Momo Kornher <[email protected]>
1 parent f46a645 commit 6f54eff

File tree

19 files changed

+821
-771
lines changed

19 files changed

+821
-771
lines changed

.projen/deps.json

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const project = new CdklabsConstructLibrary({
4848
'@types/uuid',
4949
cdkCli,
5050
'@aws-sdk/client-codeartifact',
51+
'@aws-sdk/client-lambda',
5152
'@aws-sdk/client-s3',
5253
'@smithy/types',
5354
'@smithy/util-retry',

package.json

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projenrc/magic-lambda.ts

+4
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ export function discoverLambdas(project: TypeScriptProject) {
169169
project.eslint?.allowDevDeps('src/**/*.lambda.ts');
170170
// Allow .lambda-shared code to import dev-deps (these are not entry points, but are shared by several lambdas)
171171
project.eslint?.allowDevDeps('src/**/*.lambda-shared.ts');
172+
173+
project.addDevDeps('@aws-sdk/client-s3');
174+
project.addDevDeps('@aws-sdk/client-ecs');
175+
172176
for (const entry of glob.sync('src/**/*.lambda.ts')) {
173177
const trigger = basename(entry).startsWith('trigger.');
174178
newLambdaHandler(project, entry, trigger);

0 commit comments

Comments
 (0)