codecommit_rule

This module defines how to response to CodeCommit event in different situations.

class aws_ci_bot.codecommit_rule.CodeCommitHandlerActionEnum(value)[source]

An enumeration.

aws_ci_bot.codecommit_rule.check_what_to_do(cc_event: aws_codecommit.notification.CodeCommitEvent) aws_ci_bot.codecommit_rule.CodeCommitHandlerActionEnum[source]

Analyze the CodeCommit event, check what to do.

This function determines when to trigger an AWS CodeBuild build job based on your custom Git branching and commit rules, as well as which branch, tag, or commit to build from. The default settings are suitable for most use cases, but you can customize the function by following the comments provided.

This solution designed for any type of project for any programming language and for any Git Workflow.

This function should take a CodeCommitEvent object as input, and return a CodeCommitHandlerActionEnum object.