class Aws::CodeStar::Types::CodeDestination

The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

@note When making an API call, you may pass CodeDestination

data as a hash:

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

@!attribute [rw] code_commit

Information about the AWS CodeCommit 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.
@return [Types::CodeCommitCodeDestination]

@!attribute [rw] git_hub

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.
@return [Types::GitHubCodeDestination]

@see docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CodeDestination AWS API Documentation

Constants

SENSITIVE