{"id":15968888,"url":"https://github.com/gammarers/aws-codeconnections-host-custom-resource","last_synced_at":"2026-01-06T18:22:03.930Z","repository":{"id":256361841,"uuid":"855070129","full_name":"gammarers/aws-codeconnections-host-custom-resource","owner":"gammarers","description":"This AWS CDK Construct provides a custom resource (Lambda Function) to create a connection host for Self-Managed GitLab, which is not yet supported by CloudFormation. Additionally, even after creating the Host and the connection, authentication must be done via a browser.","archived":false,"fork":false,"pushed_at":"2025-11-11T16:47:59.000Z","size":1068,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-11T18:22:54.564Z","etag":null,"topics":["aws","cdk","codeconnection","construct","customresource","hoat"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gammarers.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-10T08:53:43.000Z","updated_at":"2025-11-11T16:43:30.000Z","dependencies_parsed_at":"2024-10-16T19:45:11.934Z","dependency_job_id":"2229b410-a015-4eb0-86a2-95146d1ea30e","html_url":"https://github.com/gammarers/aws-codeconnections-host-custom-resource","commit_stats":null,"previous_names":["gammarers/aws-codeconnections-host-custom-resource"],"tags_count":80,"template":false,"template_full_name":null,"purl":"pkg:github/gammarers/aws-codeconnections-host-custom-resource","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammarers%2Faws-codeconnections-host-custom-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammarers%2Faws-codeconnections-host-custom-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammarers%2Faws-codeconnections-host-custom-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammarers%2Faws-codeconnections-host-custom-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gammarers","download_url":"https://codeload.github.com/gammarers/aws-codeconnections-host-custom-resource/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gammarers%2Faws-codeconnections-host-custom-resource/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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-11-25T02:00:05.816Z","response_time":54,"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","codeconnection","construct","customresource","hoat"],"created_at":"2024-10-07T19:04:23.489Z","updated_at":"2025-11-25T19:04:32.360Z","avatar_url":"https://github.com/gammarers.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS CodeConnections Host Custom Resource\n\n[![GitHub](https://img.shields.io/github/license/gammarers/aws-codeconnections-host-custom-resource?style=flat-square)](https://github.com/gammarers/aws-codeconnections-host-custom-resource/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@gammarers/aws-codeconnections-host-custom-resource?style=flat-square)](https://www.npmjs.com/package/@gammarers/aws-codeconnections-host-custom-resource)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarers/aws-codeconnections-host-custom-resource/release.yml?branch=main\u0026label=release\u0026style=flat-square)](https://github.com/gammarers/aws-codeconnections-host-custom-resource/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarers/aws-codeconnections-host-custom-resource?sort=semver\u0026style=flat-square)](https://github.com/gammarers/aws-codeconnections-host-custom-resource/releases)\n\n[![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-codeconnections-host-custom-resource)](https://constructs.dev/packages/@gammarers/aws-codeconnections-host-custom-resource)\n\nThis AWS CDK Construct provides a custom resource (Lambda Function) to create a connection host for Self-Managed GitLab, which is not yet supported by CloudFormation. Additionally, even after creating the Host and the connection, authentication must be done via a browser.\n\n## Install\n\n### TypeScript\n\n#### install by npm\n\n```shell\nnpm install @gammarers/aws-codeconnections-host-custom-resource\n```\n\n#### install by yarn\n\n```shell\nyarn add @gammarers/aws-codeconnections-host-custom-resource\n```\n\n### Python\n\n#### install by pip\n\n```shell\npip install gammarers.aws-budgets-notification\n```\n\n## Example\n\n```typescript\nimport { CodeConnectionsHostCustomResource, CodeConnectionsHostProviderType } from '@gammarers/aws-codeconnections-host-custom-resource';\n\nconst codeConnectionsHostCustomResource = new CodeConnectionsHostCustomResource(this, 'CodeConnectionsHost', {\n  name: 'gitlab.example.com', // required, connection host name (Minimum length of 1. Maximum length of 64.)\n  providerEndpoint: 'https://gitlab.example.com', // required, your provider endpoint (Minimum length of 1. Maximum length of 512.)\n  providerType: CodeConnectionsHostProviderType.GIT_LAB_SELF_MANAGED,\n});\n\n// get host arn\nconst hostArn = gitLabSelfManagedConnectionHostCustomResource.findHostArn();\n\nnew codeconnections.CfnConnection(this, 'Connection', {\n  connectionName: 'example-gitlab-connection',\n  hostArn,\n});\n\n```\n\n## How to complete (Update a pending connection)\n\nDeploy completed after being configured in EXAMPLE.\nAt this point, the status is ‘Pending’ as shown below because authentication has not yet been completed.\n\n\u003cimg alt=\"CodeConnection Setup 01\" src=\"images/CodeConnection-Setup-01.png\" width=\"800\" /\u003e\n\nSelect the ‘Connection’ you have created to display the Connection detail screen.\n\n\u003cimg alt=\"CodeConnection Setup 02\" src=\"images/CodeConnection-Setup-02.png\" width=\"800\" /\u003e\n\nYou will see the ‘Pending’ status as follows. Select ‘Update pending connection’.\n\n\u003cimg alt=\"CodeConnection Setup 03\" src=\"images/CodeConnection-Setup-03.png\" width=\"800\" /\u003e\n\nA screen to enter the Provide personal access token (pat) will be displayed; the pat should be created in the target host environment (only api should be enabled). Enter the pat and select ‘Continue’.\n\n\u003cimg alt=\"CodeConnection Setup 04\" src=\"images/CodeConnection-Setup-04.png\" width=\"500\" /\u003e\n\nThe host authorisation screen will appear as shown below, select ‘Authorise’ (the screen will pop up).\n\u003e If you have not logged in, a login screen will be displayed, please log in.\n\n\u003cimg alt=\"CodeConnection Setup 05\" src=\"images/CodeConnection-Setup-05.png\" width=\"800\" /\u003e\n\nWhen completed, the status will change to ‘Available’ as follows. This completes all Connection settings.\n\n\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgammarers%2Faws-codeconnections-host-custom-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgammarers%2Faws-codeconnections-host-custom-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgammarers%2Faws-codeconnections-host-custom-resource/lists"}