AWS CodeStar
API Reference (API Version 2017-04-19)

GitHubCodeDestination

Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

Contents

description

Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.

Type: String

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

Pattern: ^\S(.*\S)?$

Required: No

issuesEnabled

Whether to enable issues for the GitHub repository.

Type: Boolean

Required: Yes

name

Name of the GitHub repository to be created in AWS CodeStar.

Type: String

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

Pattern: ^\S[\w.-]*$

Required: Yes

owner

The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.

Type: String

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

Pattern: ^\S(.*\S)?$

Required: Yes

privateRepository

Whether the GitHub repository is to be a private repository.

Type: Boolean

Required: Yes

token

The GitHub user's personal access token for the GitHub repository.

Type: String

Length Constraints: Minimum length of 1.

Required: Yes

type

The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.

Type: String

Pattern: ^(user|organization|User|Organization)$

Required: Yes

See Also

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

On this page: