GitHubCodeDestination - AWS CodeStar

On July 31, 2024, Amazon Web Services (AWS) will discontinue support for creating and viewing AWS CodeStar projects. After July 31, 2024, you will no longer be able to access the AWS CodeStar console or create new projects. However, the AWS resources created by AWS CodeStar, including your source repositories, pipelines, and builds, will be unaffected by this change and will continue to function. AWS CodeStar Connections will not be impacted by this discontinuation.

 

If you wish to track work, develop code, and build, test, and deploy your applications, Amazon CodeCatalyst provides a streamlined getting started process and additional functionality to manage your software projects. Learn more about functionality and pricing of Amazon CodeCatalyst.

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

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

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

See Also

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