cloudformation-response
Manage CloudFormation Custom Resource responses.
Install
To install this middleware you can use NPM:
- npm
- Yarn
- pnpm
npm install --save @middy/cloudformation-response
yarn add @middy/cloudformation-response
pnpm add @middy/cloudformation-response
Options
None
Sample usage
General
import middy from '@middy/core'
import cloudformationResponse from '@middy/cloudformation-response'
export const handler = middy((event, context) => {
return {
PhysicalResourceId:'...'
}
})
handler.use(cloudformationResponse())