AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.CodeCommit.Model.RepositoryTrigger

Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z

Syntax

C#
public class RepositoryTrigger

The RepositoryTrigger type exposes the following members

Constructors

NameDescription
Public Method RepositoryTrigger()

Properties

NameTypeDescription
Public Property 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.

Public Property 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.

Public Property 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).

Public Property 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.

Public Property Name System.String

Gets and sets the property Name.

The name of the trigger.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5