interface GitHubSourceVariables
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodePipeline.Actions.GitHubSourceVariables |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipelineactions#GitHubSourceVariables |
Java | software.amazon.awscdk.services.codepipeline.actions.GitHubSourceVariables |
Python | aws_cdk.aws_codepipeline_actions.GitHubSourceVariables |
TypeScript (source) | aws-cdk-lib » aws_codepipeline_actions » GitHubSourceVariables |
The CodePipeline variables emitted by GitHub source Action.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline_actions as codepipeline_actions } from 'aws-cdk-lib';
const gitHubSourceVariables: codepipeline_actions.GitHubSourceVariables = {
authorDate: 'authorDate',
branchName: 'branchName',
commitId: 'commitId',
commitMessage: 'commitMessage',
committerDate: 'committerDate',
commitUrl: 'commitUrl',
repositoryName: 'repositoryName',
};
Properties
Name | Type | Description |
---|---|---|
author | string | The date the currently last commit on the tracked branch was authored, in ISO-8601 format. |
branch | string | The name of the branch this action tracks. |
commit | string | The SHA1 hash of the currently last commit on the tracked branch. |
commit | string | The message of the currently last commit on the tracked branch. |
commit | string | The GitHub API URL of the currently last commit on the tracked branch. |
committer | string | The date the currently last commit on the tracked branch was committed, in ISO-8601 format. |
repository | string | The name of the repository this action points to. |
authorDate
Type:
string
The date the currently last commit on the tracked branch was authored, in ISO-8601 format.
branchName
Type:
string
The name of the branch this action tracks.
commitId
Type:
string
The SHA1 hash of the currently last commit on the tracked branch.
commitMessage
Type:
string
The message of the currently last commit on the tracked branch.
commitUrl
Type:
string
The GitHub API URL of the currently last commit on the tracked branch.
committerDate
Type:
string
The date the currently last commit on the tracked branch was committed, in ISO-8601 format.
repositoryName
Type:
string
The name of the repository this action points to.