UNPKG

cdk-drizzle-migrate

Version:

AWS CDK construct for running Drizzle ORM migrations

19 lines (9 loc) 531 B
# Install a basic custom resource > Ingest the information from this file, implement the Low-Level Tasks, and generate the code that will satisfy the objective. ## Objective Write a CDK custom resource that simply writes hello to the log. ## Context Follow the AWS CDK method of creating a custom resource in a cdk construct. ## Low-Level Tasks 1. Create a new src/provider.ts file which installs the custom resource handler. 2. Create a new src/handler.ts which is the lambda source code for the custom resource handler.