Class CfnDeploymentGroup.GitHubLocationProperty
GitHubLocation
is a property of the CodeDeploy DeploymentGroup Revision property that specifies the location of an application revision that is stored in GitHub.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GitHubLocationProperty : Object, CfnDeploymentGroup.IGitHubLocationProperty
Syntax (vb)
Public Class GitHubLocationProperty
Inherits Object
Implements CfnDeploymentGroup.IGitHubLocationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeDeploy;
var gitHubLocationProperty = new GitHubLocationProperty {
CommitId = "commitId",
Repository = "repository"
};
Synopsis
Constructors
GitHubLocationProperty() |
Properties
CommitId | The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision. |
Repository | The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision. |
Constructors
GitHubLocationProperty()
public GitHubLocationProperty()
Properties
CommitId
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
public string CommitId { get; set; }
Property Value
System.String
Remarks
Repository
The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.
public string Repository { get; set; }
Property Value
System.String
Remarks
Specify the value as account/repository
.