aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.GitHubLocationProperty

interface GitHubLocationProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.GitHubLocationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_GitHubLocationProperty
Javasoftware.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.GitHubLocationProperty
Pythonaws_cdk.aws_codedeploy.CfnDeploymentGroup.GitHubLocationProperty
TypeScript aws-cdk-lib » aws_codedeploy » 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.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const gitHubLocationProperty: codedeploy.CfnDeploymentGroup.GitHubLocationProperty = {
  commitId: 'commitId',
  repository: 'repository',
};

Properties

NameTypeDescription
commitIdstringThe SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
repositorystringThe GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision.

commitId

Type: string

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


repository

Type: string

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

Specify the value as account/repository .