UNPKG

the-ldk

Version:

Welcome to the LDK! A collection of custom AWS CDK constructs to help you build serverless applications faster.

31 lines (30 loc) 1.06 kB
import { NodejsFunctionProps } from 'aws-cdk-lib/aws-lambda-nodejs'; import { z as zod } from 'zod'; export declare const LambdaFunctionPropsSchema: zod.ZodObject<{ serviceName: zod.ZodString; stage: zod.ZodString; entryPath: zod.ZodString; handlerName: zod.ZodOptional<zod.ZodString>; tsConfigPath: zod.ZodString; functionName: zod.ZodOptional<zod.ZodString>; customOptions: zod.ZodOptional<zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>>; }, "strip", zod.ZodTypeAny, { serviceName: string; stage: string; entryPath: string; tsConfigPath: string; handlerName?: string | undefined; functionName?: string | undefined; customOptions?: {} | undefined; }, { serviceName: string; stage: string; entryPath: string; tsConfigPath: string; handlerName?: string | undefined; functionName?: string | undefined; customOptions?: {} | undefined; }>; export interface LambdaFunctionProps extends zod.infer<typeof LambdaFunctionPropsSchema> { customOptions?: NodejsFunctionProps; }