GitHubSourceVariables

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

Bases: object

__init__(*, author_date, branch_name, commit_id, commit_message, committer_date, commit_url, repository_name)

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.

Attributes

author_date

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

Return type

str

branch_name

The name of the branch this action tracks.

Return type

str

commit_id

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

Return type

str

commit_message

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

Return type

str

commit_url

The GitHub API URL of the currently last commit on the tracked branch.

Return type

str

committer_date

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

Return type

str

repository_name

The name of the repository this action points to.

Return type

str