Skip to content

Commit

Permalink
move @aws-lambda-powertools/logger to --save
Browse files Browse the repository at this point in the history
  • Loading branch information
tsq authored Jan 30, 2025
1 parent 2520a82 commit 3f469c7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ In this guide, lets configure a Lambda function with an Amazon DynamoDB stream a
To get started, install the AWS Lambda Powertools Logger, which provides structured logging capabilities for your Lambda function, and the `aws-lambda` package, which is used to define the handler type.

```bash title="Terminal" showLineNumbers={false}
npm add --save-dev @aws-lambda-powertools/logger @types/aws-lambda
npm add --save @aws-lambda-powertools/logger
npm add --save-dev @types/aws-lambda
```

Second, create a new directory and a resource file, `amplify/functions/dynamoDB-function/resource.ts`. Then, define the function with `defineFunction`:
Expand Down

0 comments on commit 3f469c7

Please sign in to comment.