This repository has been archived on 2026-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
next-deploy/packages/aws-lambda/types.d.ts

25 lines
428 B
TypeScript

import { Lambda } from 'aws-sdk';
export type AwsLambdaInputs = {
name: string;
description: string;
memory: number;
timeout: number;
code: string;
bucket: any;
shims: never[];
handler: string;
runtime: string;
env: Record<string, string>;
region: string;
role: Resource;
arn?: string;
zipPath: string;
hash?: string;
layer?: Resource;
lambda?: Lambda;
};
type Resource = {
arn: string;
};