{"id":22816525,"url":"https://github.com/msysh/aws-sample-cdk-custom-response-header-with-lambdaedge","last_synced_at":"2025-09-21T06:42:10.692Z","repository":{"id":146439360,"uuid":"344524825","full_name":"msysh/aws-sample-cdk-custom-response-header-with-lambdaedge","owner":"msysh","description":"Test custom response header with using Lambda@Edge, CloudFront and S3.","archived":false,"fork":false,"pushed_at":"2021-03-28T16:04:29.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T06:22:51.176Z","etag":null,"topics":["aws-cdk","cloudfront","lambda-edge"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msysh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2021-03-04T15:42:20.000Z","updated_at":"2021-03-30T09:22:38.000Z","dependencies_parsed_at":"2023-03-30T11:06:15.273Z","dependency_job_id":null,"html_url":"https://github.com/msysh/aws-sample-cdk-custom-response-header-with-lambdaedge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/msysh/aws-sample-cdk-custom-response-header-with-lambdaedge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msysh%2Faws-sample-cdk-custom-response-header-with-lambdaedge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msysh%2Faws-sample-cdk-custom-response-header-with-lambdaedge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msysh%2Faws-sample-cdk-custom-response-header-with-lambdaedge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msysh%2Faws-sample-cdk-custom-response-header-with-lambdaedge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msysh","download_url":"https://codeload.github.com/msysh/aws-sample-cdk-custom-response-header-with-lambdaedge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msysh%2Faws-sample-cdk-custom-response-header-with-lambdaedge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276204825,"owners_count":25602738,"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","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws-cdk","cloudfront","lambda-edge"],"created_at":"2024-12-12T14:07:48.287Z","updated_at":"2025-09-21T06:42:10.686Z","avatar_url":"https://github.com/msysh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Sample : test custom response header with Lambda@Edge\n\nTest custom response header with using Lambda@Edge, CloudFront and S3..\n\n## Quick Start\n\n1. `git clone https://github.com/msysh/aws-sample-cdk-custom-response-header-with-lambdaedge.git`\n2. `cd aws-sample-cdk-custom-response-header-with-lambdaedge`\n3. `npm install` or `yarn install`\n4. `cdk bootstrap`, if you've never execute yet.\n5. `cdk deploy`\n\n## Customize\n\n### AWS Lambda function\n\nAdd files you want for AWS Lambda, into `assets`.\n\n### Amazon CloudFront\n\nDefault status of distribution is set `false`.\n\n### Others\n\n* Lambda function name : `functionName` in `cdk.json`. Default is `cf-edge-custom-response-header`.\n* IAM role name : `roleName` in `cdk.json`. Default is `cf-edge-custom-response-header`.\n* S3 bucket name : `bucketName` in `cdk.json`. Default is `origin-bucket-for-custom-response-header`\n\n---\n\nThe `cdk.json` file tells the CDK Toolkit how to execute your app.\n\n## Useful commands\n\n * `npm run build`   compile typescript to js\n * `npm run watch`   watch for changes and compile\n * `npm run test`    perform the jest unit tests\n * `cdk deploy`      deploy this stack to your default AWS account/region\n * `cdk diff`        compare deployed stack with current state\n * `cdk synth`       emits the synthesized CloudFormation template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsysh%2Faws-sample-cdk-custom-response-header-with-lambdaedge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsysh%2Faws-sample-cdk-custom-response-header-with-lambdaedge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsysh%2Faws-sample-cdk-custom-response-header-with-lambdaedge/lists"}