Repository - AWS Proton

AWS has decided to discontinue AWS Proton, with support ending on October 7, 2026. New customers will not be able to sign up after October 7, 2025, but existing customers can continue to use the service until October 7, 2026.For more information, see AWS Proton Service Deprecation and Migration Guide.

Repository

Detailed data of a linked repository—a repository that has been registered with AWS Proton.

Contents

arn

The Amazon Resource Name (ARN) of the linked repository.

Type: String

Required: Yes

connectionArn

The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects AWS Proton to your repository provider account.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: arn:(aws|aws-cn|aws-us-gov):[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:\d{12}:([\w+=,.@-]+[/:])*[\w+=,.@-]+

Required: Yes

name

The repository name.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: .*[A-Za-z0-9_.-].*/[A-Za-z0-9_.-].*

Required: Yes

provider

The repository provider.

Type: String

Valid Values: GITHUB | GITHUB_ENTERPRISE | BITBUCKET

Required: Yes

encryptionKey

Your customer AWS KMS encryption key.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: arn:(aws|aws-cn|aws-us-gov):[a-zA-Z0-9-]+:[a-zA-Z0-9-]*:\d{12}:([\w+=,.@-]+[/:])*[\w+=,.@-]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: