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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb

Overview

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
  },
}

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.

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.



183
184
185
186
187
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 183

class CodeDestination < Struct.new(
  :code_commit,
  :git_hub)
  include Aws::Structure
end

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



183
184
185
186
187
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 183

class CodeDestination < Struct.new(
  :code_commit,
  :git_hub)
  include Aws::Structure
end