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

Class: Aws::CodeStar::Types::CodeDestination

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

Overview

Note:

When passing CodeDestination as input to an Aws::Client method, you can use a vanilla 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
  },
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#code_commitTypes::CodeCommitCodeDestination

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.

Returns:

#git_hubTypes::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.

Returns: