Skip to content

Commit 8dbd7ea

Browse files
committed
remove dependencies and update README and example-pattern
1 parent c5613f1 commit 8dbd7ea

36 files changed

+11
-2398
lines changed

apigw-dynamodb-python-cdk/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,19 @@ source .venv/bin/activate
3838
```
3939
python -m pip install -r requirements.txt
4040
```
41-
7. To generate a cloudformation templates (optional)
41+
7. Install jwt package for Lambda:
42+
```
43+
cd src; pip install pyjwt --target .
44+
```
45+
8. Zip the Lambda function and dependencies
46+
```
47+
zip -r lambda.zip .
48+
```
49+
9. To generate a cloudformation templates (optional)
4250
```
4351
cdk synth
4452
```
45-
8. To deploy AWS resources as a CDK project
53+
10. To deploy AWS resources as a CDK project
4654
```
4755
cdk deploy
4856
```

apigw-dynamodb-python-cdk/example-pattern.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"title": "API Gateway direct integration to DynamoDB",
3-
"description": "Create direct integration with API Gateway to DynamoDB showcasing transformation of request/response using VTL and CDK and implement examples for using Cognito, Lambda authorizer and API keys.",
3+
"description": "Direct integration with API Gateway to DynamoDB with transformation using VTL and CDK and examples for Cognito, Lambda authorizer and API keys.",
44
"language": "Python",
55
"level": "300",
66
"framework": "CDK",

apigw-dynamodb-python-cdk/src/PyJWT-2.8.0.dist-info/AUTHORS.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

apigw-dynamodb-python-cdk/src/PyJWT-2.8.0.dist-info/INSTALLER

Lines changed: 0 additions & 1 deletion
This file was deleted.

apigw-dynamodb-python-cdk/src/PyJWT-2.8.0.dist-info/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

apigw-dynamodb-python-cdk/src/PyJWT-2.8.0.dist-info/METADATA

Lines changed: 0 additions & 107 deletions
This file was deleted.

apigw-dynamodb-python-cdk/src/PyJWT-2.8.0.dist-info/RECORD

Lines changed: 0 additions & 33 deletions
This file was deleted.

apigw-dynamodb-python-cdk/src/PyJWT-2.8.0.dist-info/REQUESTED

Whitespace-only changes.

apigw-dynamodb-python-cdk/src/PyJWT-2.8.0.dist-info/WHEEL

Lines changed: 0 additions & 5 deletions
This file was deleted.

apigw-dynamodb-python-cdk/src/PyJWT-2.8.0.dist-info/top_level.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)