View a markdown version of this page

AWS::DevOpsAgent::Association TriggerFilterGroup - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::DevOpsAgent::Association TriggerFilterGroup

A group of trigger conditions. The group matches when all of its conditions pass. Specify at least one condition.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Events" : [ String, ... ], "TargetBranches" : PatternFilter }

Properties

Events

The webhook events that start the capability. The condition passes when the event is one of the listed events.

PULL_REQUEST_READY_FOR_REVIEW: a pull request or merge request is created, updated, or marked ready for review while it isn't a draft. PULL_REQUEST_DRAFT: a pull request or merge request is created or updated while it is a draft.

Required: No

Type: Array of String

Allowed values: PULL_REQUEST_READY_FOR_REVIEW | PULL_REQUEST_DRAFT

Minimum: 1

Maximum: 10

Update requires: No interruption

TargetBranches

The condition on the target branch of the pull request or merge request. The condition passes when the target branch matches one of the patterns.

Required: No

Type: PatternFilter

Update requires: No interruption