@serverless-stack/resources
TypeScript icon, indicating that this package has built-in type declarations

1.18.4 • Public • Published

@serverless-stack/resources npm

The @serverless-stack/resources package provides a set of additional CDK constructs necessary to build an SST app.

View the @serverless-stack/resources docs here.

Installation

This package is usually installed together with @serverless-stack/cli.

# With npm
$ npm install @serverless-stack/cli @serverless-stack/resources --save-exact
# Or with Yarn
$ yarn add @serverless-stack/cli @serverless-stack/resources --exact

Note that, the version of these packages should be kept in sync.

Importing constructs

You can either import specific constructs in your app.

import { Api } from "@serverless-stack/resources";

Or import them all.

import * as sst from "@serverless-stack/resources";

Types of constructs

SST comes with a two types of constructs.

Low-level

These either extend or replace the native CDK constructs.

Higher-level

These are higher level abstractions that wrap around multiple constructs to serve specific use cases.

Readme

Keywords

none

Package Sidebar

Install

npm i @serverless-stack/resources

Homepage

sst.dev

Weekly Downloads

5,247

Version

1.18.4

License

MIT

Unpacked Size

6.51 MB

Total Files

337

Last publish

Collaborators

  • thdxr
  • fanjie
  • jayair