Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LambdaPackager

Package a Lambda function

It uses the normmal Packager and just add the default entrypoint And the exclusion of aws-sdk by default

Hierarchy

Constructors

Properties

_defaulted: boolean
app: Application
logger: Logger
manager: DeploymentManager
name: string
now: number
packageDescription: any
packagesGenerated: object

Type declaration

  • [key: string]: boolean
parameters: any
type: string

Methods

  • addLinkPackage(archive: any, fromPath: string, toPath: string): void
  • defaultResources(): Promise<void>
  • deploy(): Promise<any>
  • execute(command: string, stdin?: string, resolveOnError?: boolean, logLevel?: WorkerLogLevel): Promise<object>
  • getApplication(): Application
  • getPackagedConfiguration(): Configuration
  • loadDefaults(): Promise<void>
  • replaceResourcesVariables(): void
  • replaceVariables(obj: any): any
  • setName(name: string): void
  • setType(type: string): void
  • getDependencies(pkg: string): object
  • getPackageLastChanges(pkg: string, includeWorkspace?: boolean): string
  • getResolvedDependencies(pkg: string): object
  • getWorkspacesPackages(dir?: string): string[]
  • getWorkspacesRoot(dir?: string): string
  • loadPackageInfo(dir: any): any

Generated using TypeDoc