@d4ndel1on/cdk-constructs
v0.2.19
Published
This project contains some convenience constructs for cdk projects
Downloads
4
Readme
CDK constructs
Convenience constructs included in this project:
- ApiGatewayServedLambda
- HostedReactApp
Usage
ApiGatewayServedLambda
Includes following components:
HttpApi
to deliver endpointNodejsFunction
containing logicTable
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 appDistribution
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