Skip to main content

cloudformation-response

Manage CloudFormation Custom Resource responses.

Install

To install this middleware you can use NPM:

npm install --save @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())