Cell API
    Preparing search index...

    Class LambdaDeployment

    Deploys the output of the lambda preset: the output directory as the code of a Node.js function, a function URL without authentication and the permissions it needs, and, when lambda.role is not set, the execution role cell-lambda-execution (logs only). Credentials: AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY (/ AWS_SESSION_TOKEN), or a profile of ~/.aws/credentials.

    Index
    context: DeployContext
    credentials?: {
        accessKeyId: string;
        secretAccessKey: string;
        sessionToken?: string;
    }
    io: CloudIo = DEFAULT_IO
    name: string
    region: string
    ASSUME_ROLE: string = ...
    BASIC_EXECUTION: "arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole" = 'arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole'
    CREDENTIALS: "AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY" = 'AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY'
    MAX_PACKAGE: number = ...

    A zip uploaded in the request (base64 in JSON).

    ROLE: "cell-lambda-execution" = 'cell-lambda-execution'
    • Parameters

      • call: () => Promise<Record<string, any>>
      • step: string

      Returns Promise<Record<string, any> | undefined>