@d4ndel1on/cdk-constructs
TypeScript icon, indicating that this package has built-in type declarations

0.2.19 • Public • Published

CDK constructs

Convenience constructs included in this project:

  • ApiGatewayServedLambda
  • HostedReactApp

Usage

ApiGatewayServedLambda

Includes following components:

  • HttpApi to deliver endpoint
  • NodejsFunction containing logic
  • Table in case of parameters added
new ApiGatewayServedLambda(stack, 'ApiGatwayServedLambda', {
  lambda: {
    entry: path.join(__dirname, 'handler.ts')
  }
})

HostedReactApp

Includes following components:

  • Bucket to host the react app
  • Distribution to serve the react app
new HostedReactApp(stack, 'HostedReactApp')

Release

Use command npm run patch or npm run minor

Tags will be automatically published to npmjs

Readme

Keywords

Package Sidebar

Install

npm i @d4ndel1on/cdk-constructs

Weekly Downloads

0

Version

0.2.19

License

MIT

Unpacked Size

53.8 kB

Total Files

13

Last publish

Collaborators

  • d4ndel1on