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

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 GitHubCodeDestination data as a 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.

Constant Summary collapse

SENSITIVE =
[:token]

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)


755
756
757
758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 755

class GitHubCodeDestination < Struct.new(
  :name,
  :description,
  :type,
  :owner,
  :private_repository,
  :issues_enabled,
  :token)
  SENSITIVE = [:token]
  include Aws::Structure
end

#issues_enabledBoolean

Whether to enable issues for the GitHub repository.

Returns:

  • (Boolean)


755
756
757
758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 755

class GitHubCodeDestination < Struct.new(
  :name,
  :description,
  :type,
  :owner,
  :private_repository,
  :issues_enabled,
  :token)
  SENSITIVE = [:token]
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


755
756
757
758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 755

class GitHubCodeDestination < Struct.new(
  :name,
  :description,
  :type,
  :owner,
  :private_repository,
  :issues_enabled,
  :token)
  SENSITIVE = [:token]
  include Aws::Structure
end

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


755
756
757
758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 755

class GitHubCodeDestination < Struct.new(
  :name,
  :description,
  :type,
  :owner,
  :private_repository,
  :issues_enabled,
  :token)
  SENSITIVE = [:token]
  include Aws::Structure
end

#private_repositoryBoolean

Whether the GitHub repository is to be a private repository.

Returns:

  • (Boolean)


755
756
757
758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 755

class GitHubCodeDestination < Struct.new(
  :name,
  :description,
  :type,
  :owner,
  :private_repository,
  :issues_enabled,
  :token)
  SENSITIVE = [:token]
  include Aws::Structure
end

#tokenString

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

Returns:

  • (String)


755
756
757
758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 755

class GitHubCodeDestination < Struct.new(
  :name,
  :description,
  :type,
  :owner,
  :private_repository,
  :issues_enabled,
  :token)
  SENSITIVE = [:token]
  include Aws::Structure
end

#typeString

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

Returns:

  • (String)


755
756
757
758
759
760
761
762
763
764
765
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 755

class GitHubCodeDestination < Struct.new(
  :name,
  :description,
  :type,
  :owner,
  :private_repository,
  :issues_enabled,
  :token)
  SENSITIVE = [:token]
  include Aws::Structure
end