Repository - AWS Proton

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

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

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

See Also

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