MDAA TS Docs
    Preparing search index...

    Custom code override paths for GAIA Lambda functions, layers, and batch jobs. Allows replacing default implementations with custom code for specialized GenAI requirements.

    Use cases: Custom REST API logic; Custom RAG inference; Custom WebSocket handlers; Custom data ingestion workflows

    AWS: Lambda function/layer code paths and Docker file paths for AWS Batch

    Validation: Optional; All paths must be valid relative file/directory paths when provided

    interface CodeOverwritesProps {
        commonLibsLayerCodeZipPath?: string;
        createAuroraWorkspaceCodePath?: string;
        dataImportUploadHandlerCodePath?: string;
        deleteWorkspaceHandlerCodePath?: string;
        fileImportBatchJobDockerFilePath?: string;
        genAiCoreLayerCodePath?: string;
        langchainInterfaceHandlerCodePath?: string;
        pgVectorDbSetupCodePath?: string;
        ragEnginesInferenceCodePath?: string;
        restApiHandlerCodePath?: string;
        websiteParserCodePath?: string;
        webSocketAuthorizerFunctionCodePath?: string;
        webSocketConnectionHandlerCodePath?: string;
        webSocketIncomingMessageHandlerCodePath?: string;
        webSocketOutgoingMessageHandlerCodePath?: string;
    }
    Index

    Properties

    commonLibsLayerCodeZipPath?: string

    Custom ZIP path for common libraries Lambda layer shared across multiple GAIA Lambda functions.

    Use cases: Shared library deployment; Custom dependency management; Common utility code

    AWS: Lambda layer ZIP for shared dependencies

    Validation: Optional; Must be valid ZIP file path

    createAuroraWorkspaceCodePath?: string

    Custom code path for Aurora workspace creation Lambda for specialized workspace provisioning.

    Use cases: Custom workspace creation logic; Aurora provisioning customization; Workspace configuration

    AWS: Lambda function code for Aurora workspace creation

    Validation: Optional; Must be valid directory path

    dataImportUploadHandlerCodePath?: string

    Custom code path for data import upload handler Lambda for specialized data ingestion orchestration.

    Use cases: Custom data ingestion; Upload processing customization; Custom Step Functions triggering

    AWS: Lambda function code for S3 upload/SQS ingestion handler

    Validation: Optional; Must be valid directory path

    deleteWorkspaceHandlerCodePath?: string

    Custom code path for workspace deletion handler Lambda for specialized cleanup and resource management.

    Use cases: Custom workspace cleanup; Resource management; Custom deletion workflows

    AWS: Lambda function code for workspace deletion handler

    Validation: Optional; Must be valid directory path

    fileImportBatchJobDockerFilePath?: string

    Custom Dockerfile path for file import AWS Batch job container for specialized batch processing.

    Use cases: Custom batch processing containers; Specialized file processing; Custom Unstructured.io configuration

    AWS: Dockerfile for AWS Batch job container

    Validation: Optional; Must be valid Dockerfile path

    genAiCoreLayerCodePath?: string

    Custom code path for GenAI core Lambda layer containing shared AI clients and service functionality.

    Use cases: Custom AI core logic; Model integration customization; Shared AI service clients

    AWS: Lambda layer code for GenAI core functionality

    Validation: Optional; Must be valid directory path

    langchainInterfaceHandlerCodePath?: string

    Custom code path for LangChain interface handler Lambda for specialized AI chain orchestration.

    Use cases: Custom LangChain integration; Custom AI agent workflows; Specialized chain orchestration

    AWS: Lambda function code for LangChain model interface handler

    Validation: Optional; Must be valid directory path

    pgVectorDbSetupCodePath?: string

    Custom code path for Aurora pgVector database setup Lambda for specialized vector store initialization.

    Use cases: Custom vector database schema; Specialized pgVector configuration; Custom metadata setup

    AWS: Lambda function code for Aurora pgVector setup

    Validation: Optional; Must be valid directory path

    ragEnginesInferenceCodePath?: string

    Custom code path for RAG engines inference Lambda for specialized document retrieval and AI response generation.

    Use cases: Custom RAG logic; Specialized inference behavior; Custom embedding/retrieval pipelines

    AWS: Lambda function code for RAG inference

    Validation: Optional; Must be valid directory path

    restApiHandlerCodePath?: string

    Custom code path for the REST API handler Lambda replacing default CRUD operations for workspaces, models, and search.

    Use cases: Custom API business logic; Specialized endpoint behavior; Custom GenAI API features

    AWS: Lambda function code for API Gateway REST handler

    Validation: Optional; Must be valid directory path containing Lambda handler code

    websiteParserCodePath?: string

    Custom code path for website parser Lambda for specialized web crawling and content extraction.

    Use cases: Custom web parsing; Advanced website crawling; Specialized content extraction

    AWS: Lambda function code for website crawling workflow

    Validation: Optional; Must be valid directory path

    webSocketAuthorizerFunctionCodePath?: string

    Custom code path for WebSocket authorizer Lambda for specialized authentication and authorization. Default verifies tokens from query parameters with authentication only; override for custom authorization logic.

    Use cases: Custom WebSocket authorization; Advanced token validation; Custom access control

    AWS: Lambda function code for WebSocket custom authorizer

    Validation: Optional; Must be valid directory path

    webSocketConnectionHandlerCodePath?: string

    Custom code path for WebSocket connection handler Lambda for specialized real-time connection management.

    Use cases: Custom WebSocket connection logic; Advanced session handling; Custom connection management

    AWS: Lambda function code for WebSocket connection handler

    Validation: Optional; Must be valid directory path

    webSocketIncomingMessageHandlerCodePath?: string

    Custom code path for WebSocket incoming message handler Lambda for specialized message routing.

    Use cases: Custom message processing; Advanced routing logic; Custom model interface selection

    AWS: Lambda function code for WebSocket incoming message handler

    Validation: Optional; Must be valid directory path

    webSocketOutgoingMessageHandlerCodePath?: string

    Custom code path for WebSocket outgoing message handler Lambda for specialized response delivery.

    Use cases: Custom message delivery; Response vetting; Custom broadcasting logic

    AWS: Lambda function code for WebSocket outgoing message handler

    Validation: Optional; Must be valid directory path