@webda/aws
Version:
Webda AWS Services implementation
28 lines (27 loc) • 718 B
TypeScript
import { Packager, PackagerResources } from "@webda/shell";
/**
* Lambda Packager options
*/
export interface LambdaPackagerResources extends PackagerResources {
/**
* Lambda include already the AWS-SDK
* By default we exclude the aws-sdk
*
* @defaut false
*/
customAwsSdk?: boolean;
}
/**
* Package a Lambda function
*
* It uses the normmal Packager and just add the default entrypoint
* And the exclusion of aws-sdk by default
* @WebdaDeployer WebdaAWSDeployer/LambdaPackager
*/
export default class LambdaPackager extends Packager<LambdaPackagerResources> {
/**
* Define the default resources
*/
loadDefaults(): Promise<void>;
}
export { LambdaPackager };