|
| 1 | +{ |
| 2 | + "title": "Amazon Reshift Data API with Amazon API Gateway and AWS Lambda", |
| 3 | + "description": "Access data from Redshift with API Gateway, Lambda and Redshift Data API", |
| 4 | + "language": "Python", |
| 5 | + "level": "200", |
| 6 | + "framework": "CDK", |
| 7 | + "introBox": { |
| 8 | + "headline": "How it works", |
| 9 | + "text": [ |
| 10 | + "This sample project demonstrates how to expose data from Redshift through API using API Gateway, Lambda and Redshift Data API.", |
| 11 | + "Implemented in CDK." |
| 12 | + ] |
| 13 | + }, |
| 14 | + "gitHub": { |
| 15 | + "template": { |
| 16 | + "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-lambda-redshiftdataapi", |
| 17 | + "templateURL": "serverless-patterns/apigw-lambda-redshiftdataapi", |
| 18 | + "projectFolder": "apigw-lambda-redshiftdataapi", |
| 19 | + "templateFile": "apigw_lambda_redshiftdataapi_stack.py" |
| 20 | + } |
| 21 | + }, |
| 22 | + "resources": { |
| 23 | + "bullets": [ |
| 24 | + { |
| 25 | + "text": "Redshift Data API", |
| 26 | + "link": "https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html" |
| 27 | + }, |
| 28 | + { |
| 29 | + "text": "API Gateway", |
| 30 | + "link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html" |
| 31 | + } |
| 32 | + ] |
| 33 | + }, |
| 34 | + "deploy": { |
| 35 | + "text": [ |
| 36 | + "See the GitHub repo for detailed deployment instructions." |
| 37 | + ] |
| 38 | + }, |
| 39 | + "testing": { |
| 40 | + "text": [ |
| 41 | + "See the GitHub repo for detailed testing instructions." |
| 42 | + ] |
| 43 | + }, |
| 44 | + "cleanup": { |
| 45 | + "text": [ |
| 46 | + "Delete the stack: <code>cdk deploy --app \"python3 apigw_lambda_redshiftdataapi_stack.py\"</code>." |
| 47 | + ] |
| 48 | + }, |
| 49 | + "authors": [ |
| 50 | + { |
| 51 | + "name": "Muthu Kumar", |
| 52 | + "image": "https://avatars.githubusercontent.com/u/51725180", |
| 53 | + "bio": "AWS Solutions Architect. Serverless advocate and enthusiast.", |
| 54 | + "linkedin": "klmuthu" |
| 55 | + } |
| 56 | + ], |
| 57 | + "patternArch": { |
| 58 | + "icon1": { |
| 59 | + "x": 20, |
| 60 | + "y": 50, |
| 61 | + "service": "apigw", |
| 62 | + "label": "API Gateway REST API" |
| 63 | + }, |
| 64 | + "icon2": { |
| 65 | + "x": 50, |
| 66 | + "y": 50, |
| 67 | + "service": "lambda", |
| 68 | + "label": "AWS Lambda" |
| 69 | + }, |
| 70 | + "icon3": { |
| 71 | + "x": 80, |
| 72 | + "y": 50, |
| 73 | + "service": "redshift", |
| 74 | + "label": "Amazon Redshift" |
| 75 | + }, |
| 76 | + "line1": { |
| 77 | + "from": "icon1", |
| 78 | + "to": "icon2", |
| 79 | + "label": "Request" |
| 80 | + }, |
| 81 | + "line2": { |
| 82 | + "from": "icon2", |
| 83 | + "to": "icon3", |
| 84 | + "label": "Redshift Data API" |
| 85 | + } |
| 86 | + } |
| 87 | +} |
0 commit comments