Skip to main content

function

Overview of the function module in the @serverless-stack/node package.

import { ... } from "@serverless-stack/node/function"

The function module has the following exports.


Properties

The properties let you access the resources that are bound to the function.


Function

This module helps with accessing Function constructs.

import { Function } from "@serverless-stack/node/function";

functionName

Type : string

The name of the Lambda function.

console.log(Function.myFunction.functionName);