AWS::CodeCommit::Repository RepositoryTrigger - AWS CloudFormation

AWS::CodeCommit::Repository RepositoryTrigger

Information about a trigger for a repository.

Syntax

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

JSON

{ "Branches" : [ String, ... ], "CustomData" : String, "DestinationArn" : String, "Events" : [ String, ... ], "Name" : String }

YAML

Branches: - String CustomData: String DestinationArn: String Events: - String Name: String

Properties

Branches

The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches.

Note

Although no content is required in the array, you must include the array itself.

Required: No

Type: List of String

Update requires: No interruption

CustomData

Any custom data associated with the trigger to be included in the information sent to the target of the trigger.

Required: No

Type: String

Update requires: No interruption

DestinationArn

The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS).

Required: Yes

Type: String

Update requires: No interruption

Events

The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS.

Note

The valid value "all" cannot be used with any other values.

Required: Yes

Type: List of String

Update requires: No interruption

Name

The name of the trigger.

Required: Yes

Type: String

Update requires: No interruption