{"id":19930876,"url":"https://github.com/ericlondon/aws-api-gateway-groovy-lambda-s3","last_synced_at":"2025-05-03T10:32:15.309Z","repository":{"id":69968598,"uuid":"154558480","full_name":"EricLondon/AWS-API-Gateway-Groovy-Lambda-S3","owner":"EricLondon","description":"AWS, API Gateway, Groovy, Lambda, S3, Terraform","archived":false,"fork":false,"pushed_at":"2025-02-28T12:54:29.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T14:51:26.244Z","etag":null,"topics":["api-gateway","aws","groovy","lambda","s3","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EricLondon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-24T19:35:18.000Z","updated_at":"2025-03-18T17:07:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6055132-823e-4e3b-8a99-efd04b7b8561","html_url":"https://github.com/EricLondon/AWS-API-Gateway-Groovy-Lambda-S3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLondon%2FAWS-API-Gateway-Groovy-Lambda-S3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLondon%2FAWS-API-Gateway-Groovy-Lambda-S3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLondon%2FAWS-API-Gateway-Groovy-Lambda-S3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricLondon%2FAWS-API-Gateway-Groovy-Lambda-S3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EricLondon","download_url":"https://codeload.github.com/EricLondon/AWS-API-Gateway-Groovy-Lambda-S3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252179026,"owners_count":21707106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-gateway","aws","groovy","lambda","s3","terraform"],"created_at":"2024-11-12T23:05:28.347Z","updated_at":"2025-05-03T10:32:15.013Z","avatar_url":"https://github.com/EricLondon.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"### AWS, API Gateway, Groovy, Lambda, S3, Terraform\n\n```\n# build groovy lambda\n./gradlew clean build\n\n# deploy via terraform\ncd terraform\n# set variables, secrets.auto.tfvars, etc\n./provision.sh apply\n\n# Outputs:\n# base_url = https://SOMEHASH.execute-api.us-east-1.amazonaws.com/test\n\n# curl API Gateway endpoint\n# Example code to fetch CSV file from S3, convert to JSON, and respond\ncurl -i -H 'Content-Type: application/json' -XPOST https://SOMEHASH.execute-api.us-east-1.amazonaws.com/test/s3 -d '{\"bucket\":\"SOMEBUCKET\",\"key\":\"input/sample.csv\"}'\nHTTP/2 200\ncontent-type: application/json\ncontent-length: 154\ndate: Wed, 24 Oct 2018 19:54:09 GMT\nx-amzn-requestid: SECRET\nx-amz-apigw-id: SECRET\nx-amzn-trace-id: SECRET\nx-cache: Miss from cloudfront\nvia: 1.1 SECRET.cloudfront.net (CloudFront)\nx-amz-cf-id: SECRET\n\n[{\"id\":\"1\",\"first_name\":\"Eric\",\"last_name\":\"London\"},{\"id\":\"2\",\"first_name\":\"Foo\",\"last_name\":\"Bar\"},{\"id\":\"3\",\"first_name\":\"Mr.\",\"last_name\":\"Biscuits\"}]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericlondon%2Faws-api-gateway-groovy-lambda-s3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericlondon%2Faws-api-gateway-groovy-lambda-s3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericlondon%2Faws-api-gateway-groovy-lambda-s3/lists"}