Optional ReadonlyfunctionsLambda function definitions, referenced from gateway targets, gateway interceptors, and knowledge
base custom transformations via the 'generated-function:
Use cases: Custom business logic, external API integration, gateway tool implementation
AWS: Lambda functions
Validation: Optional; FunctionProps[]
Optional ReadonlylayersLambda layer definitions for shared code and dependencies used by the module's functions.
Use cases: Shared code libraries, runtime dependencies, common utilities
AWS: Lambda layers
Validation: Optional; LayerProps[]
Lambda function and layer configuration for the module's shared Lambda pool. Defines Lambda functions and shared layers for gateway tools, gateway interceptors, and knowledge base custom transformations.
Use cases: Gateway tool logic, custom document transformation, shared code libraries, external API integration
AWS: Lambda functions and layers
Validation: At least one of layers or functions should be provided