diff --git a/packages/aws-cdk-lib/aws-appsync/lib/code.ts b/packages/aws-cdk-lib/aws-appsync/lib/code.ts index d38a2ee672f1f..840103b92d652 100644 --- a/packages/aws-cdk-lib/aws-appsync/lib/code.ts +++ b/packages/aws-cdk-lib/aws-appsync/lib/code.ts @@ -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); diff --git a/packages/aws-cdk-lib/aws-lambda/lib/code.ts b/packages/aws-cdk-lib/aws-lambda/lib/code.ts index dd7fc905da36f..4a2bcf70a2d85 100644 --- a/packages/aws-cdk-lib/aws-lambda/lib/code.ts +++ b/packages/aws-cdk-lib/aws-lambda/lib/code.ts @@ -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);