GitHubSourceVariables

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

Bases: object

The CodePipeline variables emitted by GitHub 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.

  • commit_url (str) – The GitHub API URL of the currently last commit on the tracked branch.

  • 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.
import aws_cdk.aws_codepipeline_actions as codepipeline_actions

git_hub_source_variables = codepipeline_actions.GitHubSourceVariables(
    author_date="authorDate",
    branch_name="branchName",
    commit_id="commitId",
    commit_message="commitMessage",
    committer_date="committerDate",
    commit_url="commitUrl",
    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.

commit_url

The GitHub API URL 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.