Skip to content

Commit 6edb5df

Browse files
committed
chore(lambda): inline code size limit is 4MB
1 parent 5864782 commit 6edb5df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aws-cdk-lib/aws-appsync/lib/code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export abstract class Code {
3535
/**
3636
* Inline code for AppSync function
3737
* @returns `InlineCode` with inline code.
38-
* @param code The actual handler code (limited to 4KiB)
38+
* @param code The actual handler code (limited to 4MB)
3939
*/
4040
public static fromInline(code: string): InlineCode {
4141
return new InlineCode(code);

packages/aws-cdk-lib/aws-lambda/lib/code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export abstract class Code {
3232
/**
3333
* Inline code for Lambda handler
3434
* @returns `LambdaInlineCode` with inline code.
35-
* @param code The actual handler code (limited to 4KiB)
35+
* @param code The actual handler code (limited to 4MB)
3636
*/
3737
public static fromInline(code: string): InlineCode {
3838
return new InlineCode(code);

0 commit comments

Comments
 (0)