MDAA TS Docs
    Preparing search index...

    Lambda layer configuration for shared code and dependency management.

    Defines layer source, naming, and build options for reusable Lambda layers.

    Use cases: Shared library deployment; Dependency management; Code reuse

    AWS: Lambda layer configuration for shared library deployment

    Validation: src and layerName required; dockerBuild optional

    interface LayerProps {
        description?: string;
        dockerBuild?: boolean;
        layerName: string;
        src: string;
    }
    Index

    Properties

    description?: string

    Description of the layer

    dockerBuild?: boolean

    If true, src is expected to contain a Dockerfile for building the layer

    layerName: string

    Layer name

    src: string

    Source directory or ZIP file path for layer code.