{"id":29016229,"url":"https://github.com/ossrs/srs-cdk","last_synced_at":"2025-09-09T23:34:26.985Z","repository":{"id":299829169,"uuid":"1003620417","full_name":"ossrs/srs-cdk","owner":"ossrs","description":"AWS CDK for SRS","archived":false,"fork":false,"pushed_at":"2025-06-18T13:47:12.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-27T09:45:40.095Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ossrs.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":"2025-06-17T12:21:56.000Z","updated_at":"2025-06-18T13:47:15.000Z","dependencies_parsed_at":"2025-06-18T14:50:35.223Z","dependency_job_id":null,"html_url":"https://github.com/ossrs/srs-cdk","commit_stats":null,"previous_names":["ossrs/srs-cdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ossrs/srs-cdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs-cdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs-cdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs-cdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs-cdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ossrs","download_url":"https://codeload.github.com/ossrs/srs-cdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossrs%2Fsrs-cdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274383857,"owners_count":25275184,"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-09T02:00:10.223Z","response_time":80,"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":[],"created_at":"2025-06-25T22:07:40.182Z","updated_at":"2025-09-09T23:34:26.958Z","avatar_url":"https://github.com/ossrs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# srs-cdk\n\nAWS CDK for SRS\n\n##  Usage\n\nInstall [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html), then configure the credentials:\n\n```bash\naws configure set region us-west-2\naws configure set aws_access_key_id YOUR_ACCESS_KEY_ID\naws configure set aws_secret_access_key YOUR_SECRET_ACCESS_KEY\n```\n\nNow you are ready to deploy using the CDK. Run command in each directory:\n\n```bash\ncd srs-cdk-ec2-single-origin\ncdk deploy\n```\n\nAlternatively, you can use an environment variable to change the target region for CDK deployment.\n\n```bash\nenv AWS_REGION=us-east-2 cdk deploy\n```\n\nIf you need to directly specify the account and region for the CDK:\n\n```bash\nenv CDK_DEPLOY_ACCOUNT=YOUR_AWS_ACCOUNT CDK_DEPLOY_REGION=us-east-2 cdk deploy\n```\n\nFor other use scenarios, please follow the instructions provided in each example.\n\n* [srs-cdk-ec2-single-origin](./srs-cdk-ec2-single-origin/README.md): A single SRS origin server runs on an EC2 instance.\n\nFor each example, the `cdk.json` file tells the CDK Toolkit how to execute your app. Below are some 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* `npx cdk deploy`  deploy this stack to your default AWS account/region\n* `npx cdk diff`    compare deployed stack with current state\n* `npx cdk synth`   emits the synthesized CloudFormation template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossrs%2Fsrs-cdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossrs%2Fsrs-cdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossrs%2Fsrs-cdk/lists"}