MDAA TS Docs
    Preparing search index...

    Interface MdaaLambdaFunctionOptions

    interface MdaaLambdaFunctionOptions {
        adotInstrumentation?: AdotInstrumentationConfig;
        allowAllOutbound?: boolean;
        allowPublicSubnet?: boolean;
        applicationLogLevel?: string;
        architecture?: Architecture;
        codeSigningConfig?: ICodeSigningConfig;
        createOutputs?: boolean;
        createParams?: boolean;
        currentVersionOptions?: VersionOptions;
        deadLetterQueue?: IQueue;
        deadLetterQueueEnabled?: boolean;
        deadLetterTopic?: ITopic;
        description?: string;
        environment?: { [key: string]: string };
        environmentEncryption?: IKey;
        ephemeralStorageSize?: Size;
        events?: IEventSource[];
        filesystem?: FileSystem;
        functionName: string;
        initialPolicy?: PolicyStatement[];
        insightsVersion?: LambdaInsightsVersion;
        layers?: ILayerVersion[];
        logFormat?: string;
        loggingFormat?: LoggingFormat;
        logGroup?: ILogGroup;
        logRetention?: RetentionDays;
        logRetentionRetryOptions?: LogRetentionRetryOptions;
        logRetentionRole?: IRole;
        maxEventAge?: Duration;
        memorySize?: number;
        naming: IMdaaResourceNaming;
        paramsAndSecrets?: ParamsAndSecretsLayerVersion;
        profiling?: boolean;
        profilingGroup?: IProfilingGroup;
        reservedConcurrentExecutions?: number;
        retryAttempts?: number;
        role: IRole;
        runtimeManagementMode?: RuntimeManagementMode;
        securityGroups?: ISecurityGroup[];
        snapStart?: SnapStartConf;
        systemLogLevel?: string;
        timeout?: Duration;
        tracing?: Tracing;
        vpc?: IVpc;
        vpcSubnets?: SubnetSelection;
    }

    Hierarchy (View Summary)

    Index

    Properties

    adotInstrumentation?: AdotInstrumentationConfig
    allowAllOutbound?: boolean
    allowPublicSubnet?: boolean
    applicationLogLevel?: string
    architecture?: Architecture

    System architecture specification for Lambda function execution environment controlling

    codeSigningConfig?: ICodeSigningConfig
    createOutputs?: boolean

    Flag controlling CloudFormation output and stack export creation for construct resources

    createParams?: boolean

    Flag controlling SSM parameter creation for construct resource references enabling

    currentVersionOptions?: VersionOptions

    Options for the lambda.Version resource automatically created by the fn.currentVersion method.

    • default options as described in VersionOptions
    deadLetterQueue?: IQueue
    deadLetterQueueEnabled?: boolean
    deadLetterTopic?: ITopic
    description?: string

    Human-readable description of the Lambda function explaining its purpose and functionality

    environment?: { [key: string]: string }

    Environment variables for Lambda function configuration and runtime behavior

    environmentEncryption?: IKey
    ephemeralStorageSize?: Size

    The size of the function’s /tmp directory in MB.

    512 MiB
    
    events?: IEventSource[]
    filesystem?: FileSystem
    functionName: string

    Name for the Lambda function that will be processed through MDAA naming conventions

    initialPolicy?: PolicyStatement[]
    insightsVersion?: LambdaInsightsVersion
    layers?: ILayerVersion[]

    Array of Lambda layers to add to the function's execution environment for shared code and dependencies

    logFormat?: string
    loggingFormat?: LoggingFormat
    logGroup?: ILogGroup
    logRetention?: RetentionDays
    logRetentionRetryOptions?: LogRetentionRetryOptions

    When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs.

    - Default AWS SDK retry options.
    
    logRetentionRole?: IRole
    maxEventAge?: Duration
    memorySize?: number
    naming: IMdaaResourceNaming

    MDAA naming implementation for consistent resource naming across all MDAA constructs

    paramsAndSecrets?: ParamsAndSecretsLayerVersion
    profiling?: boolean
    profilingGroup?: IProfilingGroup
    reservedConcurrentExecutions?: number
    retryAttempts?: number

    Maximum number of retry attempts when the function returns an error controlling error

    role: IRole

    Lambda execution role providing the function with permissions to access AWS services and resources

    runtimeManagementMode?: RuntimeManagementMode
    securityGroups?: ISecurityGroup[]

    Array of security groups for Lambda network interface access control

    snapStart?: SnapStartConf
    systemLogLevel?: string
    timeout?: Duration

    Lambda function timeout duration controlling maximum execution time for data processing operations

    tracing?: Tracing
    vpc?: IVpc

    VPC for placing Lambda network interfaces enabling access to VPC resources

    vpcSubnets?: SubnetSelection