Class LambdaPackager
Hierarchy
-
Packager<LambdaPackagerResources>
- LambdaPackager
Constructors
Properties
Methods
Constructors
-
Parameters
-
manager: DeploymentManager
-
Optional resources: LambdaPackagerResources
Returns LambdaPackager
-
Properties
Type declaration
-
[key: string]: boolean
Methods
-
Add a symbolic linked package from dependency
Parameters
-
archive: any
to add to
-
fromPath: string
absolutePath of package
-
toPath: string
relative path within archive
Returns void
-
-
Initiate the default value for resources
Returns Promise<void>
-
Generate a full code package including dependencies
Returns Promise<any>
-
Parameters
-
command: string
-
Optional stdin: string
-
Optional resolveOnError: boolean
-
Optional logLevel: WorkerLogLevel
Returns Promise<object>
-
-
Return the Webda Application
Returns Application
-
Returns Configuration
-
Define the default resources
Returns Promise<void>
-
Replace the resources variables
this.resources = this.replaceVariables(this.resources);
Returns void
-
Replace variables in resources
Parameters
-
obj: any
to replace variables from
Returns any
-
-
Set the deployer name
Parameters
-
name: string
Returns void
-
-
Set the deployer name
Parameters
-
type: string
Returns void
-
-
Parameters
-
pkg: string
Returns object
-
[key: string]: object[]
-
-
Parameters
-
pkg: string
-
Optional includeWorkspace: boolean
Returns string
-
-
Parameters
-
pkg: string
Returns object
-
[key: string]: string
-
-
Parameters
-
Optional dir: string
Returns string[]
-
-
Retrieve Yarn workspaces root
Parameters
-
Optional dir: string
Returns string
-
-
Parameters
-
dir: any
Returns any
-
Generated using TypeDoc
Package a Lambda function
It uses the normmal Packager and just add the default entrypoint And the exclusion of aws-sdk by default