├── .gitignore ├── .npmignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bin └── lambda-with-compression.js ├── cdk.json ├── img ├── cdk-output.png ├── curl-get-response.png ├── curl-post-response.png ├── gzip-d-result.png └── postman-compression-results.png ├── lambda ├── get-gzip │ ├── data.json │ └── index.mjs └── post-gzip │ └── index.mjs ├── package.json └── stack ├── apigateway.js ├── functions.js ├── furls.js └── lambda-with-compression-stack.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/.npmignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/README.md -------------------------------------------------------------------------------- /bin/lambda-with-compression.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/bin/lambda-with-compression.js -------------------------------------------------------------------------------- /cdk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/cdk.json -------------------------------------------------------------------------------- /img/cdk-output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/img/cdk-output.png -------------------------------------------------------------------------------- /img/curl-get-response.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/img/curl-get-response.png -------------------------------------------------------------------------------- /img/curl-post-response.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/img/curl-post-response.png -------------------------------------------------------------------------------- /img/gzip-d-result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/img/gzip-d-result.png -------------------------------------------------------------------------------- /img/postman-compression-results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/img/postman-compression-results.png -------------------------------------------------------------------------------- /lambda/get-gzip/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/lambda/get-gzip/data.json -------------------------------------------------------------------------------- /lambda/get-gzip/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/lambda/get-gzip/index.mjs -------------------------------------------------------------------------------- /lambda/post-gzip/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/lambda/post-gzip/index.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/package.json -------------------------------------------------------------------------------- /stack/apigateway.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/stack/apigateway.js -------------------------------------------------------------------------------- /stack/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/stack/functions.js -------------------------------------------------------------------------------- /stack/furls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/stack/furls.js -------------------------------------------------------------------------------- /stack/lambda-with-compression-stack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/lambda-with-compression/HEAD/stack/lambda-with-compression-stack.js --------------------------------------------------------------------------------