Interface IOnCommitOptions
Options for the onCommit() method.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeCommit
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IOnCommitOptions : IOnEventOptions, IEventCommonOptions
Syntax (vb)
Public Interface IOnCommitOptions
Inherits IOnEventOptions, IEventCommonOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.CodeCommit;
using Amazon.CDK.AWS.Events.Targets;
Repository repo;
var myTopic = new Topic(this, "Topic");
repo.OnCommit("OnCommit", new OnCommitOptions {
Target = new SnsTopic(myTopic)
});
Synopsis
Properties
Branches | The branch to monitor. |
Properties
Branches
The branch to monitor.
virtual string[] Branches { get; }
Property Value
System.String[]
Remarks
Default: - All branches