CodeCommitSourceVariables

class aws_cdk.aws_codepipeline_actions.CodeCommitSourceVariables(*, author_date, branch_name, commit_id, commit_message, committer_date, repository_name)

Bases: object

The CodePipeline variables emitted by the CodeCommit source Action.

Parameters:
  • author_date (str) – The date the currently last commit on the tracked branch was authored, in ISO-8601 format.

  • branch_name (str) – The name of the branch this action tracks.

  • commit_id (str) – The SHA1 hash of the currently last commit on the tracked branch.

  • commit_message (str) – The message of the currently last commit on the tracked branch.

  • committer_date (str) – The date the currently last commit on the tracked branch was committed, in ISO-8601 format.

  • repository_name (str) – The name of the repository this action points to.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline_actions as codepipeline_actions

code_commit_source_variables = codepipeline_actions.CodeCommitSourceVariables(
    author_date="authorDate",
    branch_name="branchName",
    commit_id="commitId",
    commit_message="commitMessage",
    committer_date="committerDate",
    repository_name="repositoryName"
)

Attributes

author_date

The date the currently last commit on the tracked branch was authored, in ISO-8601 format.

branch_name

The name of the branch this action tracks.

commit_id

The SHA1 hash of the currently last commit on the tracked branch.

commit_message

The message of the currently last commit on the tracked branch.

committer_date

The date the currently last commit on the tracked branch was committed, in ISO-8601 format.

repository_name

The name of the repository this action points to.