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

Class: Aws::CodeDeploy::Types::GitHubLocation

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

Overview

Note:

When making an API call, you may pass GitHubLocation data as a hash:

{
  repository: "Repository",
  commit_id: "CommitId",
}

Information about the location of application artifacts stored in GitHub.

Instance Attribute Summary collapse

Instance Attribute Details

#commit_idString

The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.

Returns:

  • (String)


2118
2119
2120
2121
2122
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2118

class GitHubLocation < Struct.new(
  :repository,
  :commit_id)
  include Aws::Structure
end

#repositoryString

The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.

Specified as account/repository.

Returns:

  • (String)


2118
2119
2120
2121
2122
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 2118

class GitHubLocation < Struct.new(
  :repository,
  :commit_id)
  include Aws::Structure
end