Skip to main content

function

Overview of the function module in the sst/node package.

import { ... } from "sst/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 "sst/node/function";

functionName

Type : string

The name of the Lambda function.

console.log(Function.myFunction.functionName);