Menu
AWS CodeCommit
API Reference (API Version 2015-04-13)

RepositoryTrigger

Information about a trigger for a repository.

Contents

branches

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

Note

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

Type: Array of strings

Length Constraints: Minimum length of 1. Maximum length of 100.

Required: No

customData

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

Type: String

Required: No

destinationArn

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

Type: String

Required: Yes

events

The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS).

Note

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

Type: Array of strings

Valid Values: all | updateReference | createReference | deleteReference

Required: Yes

name

The name of the trigger.

Type: String

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: