Skip to main content

table

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

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

The table module has the following exports.


Properties

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


Table

This module helps with accessing Table constructs.

import { Table } from "@serverless-stack/node/table";

tableName

Type : string

The name of the DynamoDB table.

console.log(Table.myTable.tableName);