Skip to content

Commit

Permalink
chore(lambda): inline code size limit is 4MB
Browse files Browse the repository at this point in the history
  • Loading branch information
msambol committed Jul 7, 2024
1 parent 5864782 commit 6edb5df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-appsync/lib/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export abstract class Code {
/**
* Inline code for AppSync function
* @returns `InlineCode` with inline code.
* @param code The actual handler code (limited to 4KiB)
* @param code The actual handler code (limited to 4MB)
*/
public static fromInline(code: string): InlineCode {
return new InlineCode(code);
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-lambda/lib/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export abstract class Code {
/**
* Inline code for Lambda handler
* @returns `LambdaInlineCode` with inline code.
* @param code The actual handler code (limited to 4KiB)
* @param code The actual handler code (limited to 4MB)
*/
public static fromInline(code: string): InlineCode {
return new InlineCode(code);
Expand Down

0 comments on commit 6edb5df

Please sign in to comment.