This is a simple Typescript client library for responding to CloudFormation Custom Resources.
Based on this blog.
import { send, ResponseStatus } from '@matthewbonig/cfn-response';
export const handler = async (event: any, context: any) => {
await send({ ...event, PhysicalResourceId: context.logStreamName, Status: ResponseStatus.SUCCESS, Data: {}, NoEcho: false, Reason: '' });
}
yes please, just submit a PR. Thanks.