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

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

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

Although 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 256.

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 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 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: