Trigger CodeCommit repository

You can configure CodeCommit store to make the code push or other events can trigger actions, such as the Simple the Notification Service from Amazon (Amazon the SNS to send notifications or call AWS) the Lambda function. You can create up to 10 triggers for each CodeCommit repository.

Triggers are usually configured to:

  • When someone push to the repository, send e-mail to subscribers.

  • It was after the main branch to push content repository, notify the external build system starts to build.

For inform external build system and other scenes, you need to write Lambda functions to interact with other applications. Email scene simply create an Amazon SNS topic can be.

This topic describes how to set trigger allows CodeCommit Amazon the SNS and Lambda permission to operate in the. It also includes creating, editing, and deleting links to examples of test triggers.

Guess you like

Origin www.cnblogs.com/cloudrivers/p/11635484.html