You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeStar::Types::GitHubCodeDestination

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GitHubCodeDestination as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "RepositoryName", # required
  description: "RepositoryDescription",
  type: "RepositoryType", # required
  owner: "RepositoryOwner", # required
  private_repository: false, # required
  issues_enabled: false, # required
  token: "GitHubPersonalToken", # required
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)

    Description for the GitHub repository to be created in AWS CodeStar.

#issues_enabledBoolean

Whether to enable issues for the GitHub repository.

Returns:

  • (Boolean)

    Whether to enable issues for the GitHub repository.

#nameString

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

Returns:

  • (String)

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

#ownerString

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.

Returns:

  • (String)

    The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar.

#private_repositoryBoolean

Whether the GitHub repository is to be a private repository.

Returns:

  • (Boolean)

    Whether the GitHub repository is to be a private repository.

#tokenString

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

Returns:

  • (String)

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

#typeString

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

Returns:

  • (String)

    The type of GitHub repository to be created in AWS CodeStar.