CodeCommitSourceVariables Struct
The CodePipeline variables emitted by the CodeCommit source Action.
Example
ts
// 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 codeCommitSourceVariables: codepipeline_actions.CodeCommitSourceVariables = {
authorDate: 'authorDate',
branchName: 'branchName',
commitId: 'commitId',
commitMessage: 'commitMessage',
committerDate: 'committerDate',
repositoryName: 'repositoryName',
};
Properties
The date the currently last commit on the tracked branch was authored, in ISO-8601 format.
The name of the branch this action tracks.
The SHA1 hash of the currently last commit on the tracked branch.
commitMessagestringcommit_messagestrcommitMessageStringCommitMessagestringCommitMessage*stringrequired#The message of the currently last commit on the tracked branch.
committerDatestringcommitter_datestrcommitterDateStringCommitterDatestringCommitterDate*stringrequired#The date the currently last commit on the tracked branch was committed, in ISO-8601 format.
repositoryNamestringrepository_namestrrepositoryNameStringRepositoryNamestringRepositoryName*stringrequired#The name of the repository this action points to.