AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Information about a trigger for a repository.
If you want to receive notifications about repository events, consider using notifications
instead of triggers. For more information, see Configuring
notifications for repository events.
Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z
public class RepositoryTrigger
The RepositoryTrigger type exposes the following members
Name | Description | |
---|---|---|
RepositoryTrigger() |
Name | Type | Description | |
---|---|---|---|
Branches | System.Collections.Generic.List<System.String> |
Gets and sets the property Branches. The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches. Although no content is required in the array, you must include the array itself. |
|
CustomData | System.String |
Gets and sets the property CustomData. Any custom data associated with the trigger to be included in the information sent to the target of the trigger. |
|
DestinationArn | System.String |
Gets and sets the property DestinationArn. The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS). |
|
Events | System.Collections.Generic.List<System.String> |
Gets and sets the property Events. The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. The valid value "all" cannot be used with any other values. |
|
Name | System.String |
Gets and sets the property Name. The name of the trigger. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5