Skip to content

Commit

Permalink
Amend apigw-rest-api-dynamodb-lambda-cdk
Browse files Browse the repository at this point in the history
  • Loading branch information
julianwood committed Sep 7, 2023
1 parent b7de678 commit 1a3be54
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions apigw-rest-api-dynamodb-lambda-cdk/example-pattern.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"title": "Amazon API Gateway to Amazon DynamoDB which triggers event to AWS Lambda as a consumer",
"title": "Amazon API Gateway to Amazon DynamoDB which streams event to AWS Lambda",
"description": "Create a REST API Gateway which performs PutRecords API to save to DynamoDB and the stream is consumed by a Lambda function",
"language": "Python",
"level": "300",
"framework": "CDK",
"introBox": {
"headline": "How it works",
"text": [
"This pattern deploys an Amazon API Gateway API integration with Amazon DynamoDB. It deploys a Lambda function as a consumer for the deployed Amazon DynamoDB Stream.",
"In this pattern, Lambda function is logging the decoded message which was received from the Amazon DynamoDB Stream."
]
"headline": "How it works",
"text": [
"This pattern deploys an Amazon API Gateway API integration with Amazon DynamoDB. It deploys a Lambda function as a consumer for the DynamoDB Stream.",
"The Lambda function logs the decoded message which was received from the DynamoDB Stream."
]
},
"gitHub": {
"template": {
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-rest-api-dynamodb-lambda-cdk",
"templateURL": "serverless-patterns/apigw-rest-api-dynamodb-lambda-cdk",
"projectFolder": "apigw-rest-api-dynamodb-lambda-cdk",
"templateFile": "/lib/ApiDynamoDBStack.ts"
}
"template": {
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-rest-api-dynamodb-lambda-cdk",
"templateURL": "serverless-patterns/apigw-rest-api-dynamodb-lambda-cdk",
"projectFolder": "apigw-rest-api-dynamodb-lambda-cdk",
"templateFile": "/lib/ApiDynamoDBStack.ts"
}
},
"resources": {
"bullets": [
{
"text": "Tutorial: Create a REST API as an Amazon Kinesis proxy in API Gateway",
"link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-kinesis.html"
},
{
"text": "Kinesis Data Stream PutRecord API",
"link": "https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecord.html"
},
{
"text": "Using AWS Lambda with Amazon Kinesis",
"link": "https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html"
}
]
"bullets": [
{
"text": "Tutorial: Create a REST API as an Amazon Kinesis proxy in API Gateway",
"link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-kinesis.html"
},
{
"text": "Kinesis Data Stream PutRecord API",
"link": "https://docs.aws.amazon.com/kinesis/latest/APIReference/API_PutRecord.html"
},
{
"text": "Using AWS Lambda with Amazon Kinesis",
"link": "https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html"
}
]
},
"deploy": {
"text": [
"cdk deploy"
]
"text": [
"cdk deploy"
]
},
"testing": {
"text": [
"See the Github repo for detailed testing instructions."
]
"text": [
"See the Github repo for detailed testing instructions."
]
},
"cleanup": {
"text": [
"Delete the stack: <code>cdk destroy</code>."
]
"text": [
"Delete the stack: <code>cdk destroy</code>."
]
},
"authors": [
{
"name": "Thi Nguyen",
"image": "https://drive.google.com/file/d/188LpzUvUmHt1o7vzbwKw32S-fYabL-qY/view?usp=sharing",
"bio": "Solutions Architect @ AWS",
"linkedin": "ndthi"
}
{
"name": "Thi Nguyen",
"image": "https://drive.google.com/file/d/188LpzUvUmHt1o7vzbwKw32S-fYabL-qY/view?usp=sharing",
"bio": "Solutions Architect @ AWS",
"linkedin": "ndthi"
}
]
}
}

0 comments on commit 1a3be54

Please sign in to comment.