-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fargate-pidmode-task
- Loading branch information
Showing
76 changed files
with
28,450 additions
and
40,897 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 9 additions & 5 deletions
14
...testing/framework-integ/test/aws-lambda-nodejs/test/integ-handlers/dependencies-sdk-v3.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
/* eslint-disable no-console */ | ||
// @ts-ignore | ||
import { S3Client } from '@aws-sdk/client-s3'; // eslint-disable-line import/no-extraneous-dependencies, import/no-unresolved | ||
|
||
const s3 = new S3Client({}); | ||
import { DynamoDBClient, DescribeTableCommand } from '@aws-sdk/client-dynamodb'; // eslint-disable-line import/no-extraneous-dependencies | ||
|
||
export async function handler() { | ||
console.log(s3); | ||
} | ||
const client = new DynamoDBClient(); | ||
const input = { | ||
TableName: process.env.TABLE_NAME, | ||
}; | ||
const command = new DescribeTableCommand(input); | ||
const response = await client.send(command); | ||
console.log(response); | ||
} |
8 changes: 3 additions & 5 deletions
8
...ws-cdk-testing/framework-integ/test/aws-lambda-nodejs/test/integ-handlers/dependencies.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
/* eslint-disable no-console */ | ||
import { S3 } from '@aws-sdk/client-s3'; // eslint-disable-line import/no-extraneous-dependencies | ||
// @ts-ignore | ||
import delay from 'delay'; | ||
|
||
const s3 = new S3(); | ||
|
||
export async function handler() { | ||
console.log(s3); | ||
await delay(5); | ||
} | ||
console.log('log after delay'); | ||
} |
10 changes: 5 additions & 5 deletions
10
...eg.dependencies.js.snapshot/LambdaDependenciesDefaultTestDeployAssert259C940B.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
109 changes: 7 additions & 102 deletions
109
....dependencies.js.snapshot/LambdaDependenciesDefaultTestDeployAssert259C940B.template.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.