Skip to content

Commit 510bb30

Browse files
committed
Update admin/code_hosts/aws_codecommit.schema.json schema for v6.5.1211
1 parent 17797ca commit 510bb30

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

docs/admin/code_hosts/aws_codecommit.mdx

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,15 @@ AWS CodeCommit connections support the following configuration options, which ar
3434

3535
{/* SCHEMA_SYNC_START: admin/code_hosts/aws_codecommit.schema.json */}
3636
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
37-
{/* Last updated: Manual setup - will be automated via sourcegraph/sourcegraph releases */}
37+
{/* Last updated: 2025-07-01T23:25:36Z via sourcegraph/sourcegraph@v6.5.1211 */}
3838
```json
3939
{
40+
// REQUIRED:
4041
// The AWS access key ID to use when listing and updating repositories from AWS CodeCommit. Must have the AWSCodeCommitReadOnly IAM policy.
4142
"accessKeyID": null,
4243

4344
// A list of repositories to never mirror from AWS CodeCommit.
44-
//
4545
// Supports excluding by name ({"name": "git-codecommit.us-west-1.amazonaws.com/repo-name"}) or by ARN ({"id": "arn:aws:codecommit:us-west-1:999999999999:name"}).
46-
"exclude": null,
4746
// Other example values:
4847
// - [
4948
// {
@@ -61,35 +60,55 @@ AWS CodeCommit connections support the following configuration options, which ar
6160
// "name": "go-client"
6261
// }
6362
// ]
63+
"exclude": null,
6464

65+
// REQUIRED:
6566
// The Git credentials used for authentication when cloning an AWS CodeCommit repository over HTTPS.
66-
//
6767
// See the AWS CodeCommit documentation on Git credentials for CodeCommit: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_ssh-keys.html#git-credentials-code-commit.
6868
// For detailed instructions on how to create the credentials in IAM, see this page: https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-gc.html
69-
"gitCredentials": null,
69+
"gitCredentials": {
70+
"password": null,
71+
"username": null
72+
},
73+
74+
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
75+
"gitSSHCipher": null,
76+
77+
// SSH keys to use when cloning Git repo.
78+
"gitSSHCredential": null,
79+
80+
// The ID of the SSH key created for your IAM users. It is required when using SSH to clone repositories.
81+
"gitSSHKeyID": null,
82+
83+
// The type of Git URLs to use for cloning and fetching Git repositories.
84+
// Valid options: "http", "ssh"
85+
"gitURLType": "http",
7086

7187
// Deprecated and ignored field which will be removed entirely in the next release. AWS CodeCommit repositories can no longer be enabled or disabled explicitly. Configure which repositories should not be mirrored via "exclude" instead.
7288
"initialRepositoryEnablement": false,
7389

90+
// The maximum number of repos that will be deleted per sync. A value of 0 or less indicates no maximum.
91+
"maxDeletions": 0,
92+
93+
// REQUIRED:
7494
// The AWS region in which to access AWS CodeCommit. See the list of supported regions at https://docs.aws.amazon.com/codecommit/latest/userguide/regions.html#regions-git.
95+
// Valid options: "ap-northeast-1", "ap-northeast-2", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-west-3", "sa-east-1", "us-east-1", "us-east-2", "us-west-1", "us-west-2"
7596
"region": "us-east-1",
7697

7798
// The pattern used to generate a the corresponding Sourcegraph repository name for an AWS CodeCommit repository. In the pattern, the variable "{name}" is replaced with the repository's name.
78-
//
7999
// For example, if your Sourcegraph instance is at https://src.example.com, then a repositoryPathPattern of "awsrepos/{name}" would mean that a AWS CodeCommit repository named "myrepo" is available on Sourcegraph at https://src.example.com/awsrepos/myrepo.
80-
//
81100
// It is important that the Sourcegraph repository name generated with this pattern be unique to this code host. If different code hosts generate repository names that collide, Sourcegraph's behavior is undefined.
82-
"repositoryPathPattern": "{name}",
83101
// Other example values:
84102
// - "git-codecommit.us-west-1.amazonaws.com/{name}"
85103
// - "git-codecommit.eu-central-1.amazonaws.com/{name}"
104+
"repositoryPathPattern": "{name}",
86105

106+
// REQUIRED:
87107
// The AWS secret access key (that corresponds to the AWS access key ID set in `accessKeyID`).
88108
"secretAccessKey": null
89109
}
90110
```
91111
{/* SCHEMA_SYNC_END: admin/code_hosts/aws_codecommit.schema.json */}
92-
93112
## Setup steps for SSH connections to AWS CodeCommit repositories
94113

95114
To add CodeCommit repositories in Docker Container:

0 commit comments

Comments
 (0)