GitPropertiesInput
Contains the Git connection properties that you specify when creating a Git connection.
Contents
- codeConnectionArn
-
The ARN of the AWS CodeConnections connection used to connect to the Git repository.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern:
arn:aws[^:]*:(codeconnections|codestar-connections):[a-z0-9\-]+:\d{12}:connection/[a-f0-9\-]+Required: Yes
- defaultBranch
-
The default branch of the Git repository.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern:
[a-zA-Z0-9._\-/]+Required: Yes
- repositoryId
-
The ID of the Git repository. This is the owner and repository name, for example, owner/repo-name.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern:
[a-zA-Z0-9._\-]+(/[a-zA-Z0-9._\-]+)+Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: