Default options for Lambda functions. Can be overridden.
Lambda functions that were generated.
The construct tree node associated with this construct.
Put function in VPC. Defaults to database VPC if database access is specified.
N.B. NAT Gateways must exist in the VPC if a function needs internet access.
Create a single handler function for the class and any additional routed methods inside it.
Create function handler for a simple routed function.
Look up a generated function.
Grant function access to what is configured.
Perform final modifications before synthesis.
This method can be implemented by derived constructs in order to perform final changes before synthesis. prepare() will be called after child constructs have been prepared.
This is an advanced framework feature. Only use this if you understand the implications.
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
The synthesis session.
Validate the current construct.
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
An array of validation error messages, or an empty array if the construct is valid.
Perform final modifications before synthesis.
This method can be implemented by derived constructs in order to perform final changes before synthesis. prepare() will be called after child constructs have been prepared.
This is an advanced framework feature. Only use this if you understand the implications.
Converts Layer ARNs to LayerVersions Just for convenience
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
The synthesis session.
Returns a string representation of this construct.
Validate the current construct.
This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
An array of validation error messages, or an empty array if the construct is valid.
Return whether the given object is a Construct.
Generated using TypeDoc
Given a list of application resources with metadata attached, generate appropriate CDK resources.
This construct ingests a list of API classes and their methods and generates API routes and lambda function handlers.