
Connecting to Amazon bedrock from AWS Lambda using the Node.js SDK
./src/index.js. You can use sample payloads stored in ./events to test the function.git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/bedrock-lambda-nodejssam buildsam deploy --guidedsam delete.