Show / Hide Table of Contents

Interface IOnCommitOptions

Options for the onCommit() method.

Inherited Members
IOnEventOptions.Target
IEventCommonOptions.CrossStackScope
IEventCommonOptions.Description
IEventCommonOptions.EventPattern
IEventCommonOptions.RuleName
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.

string[]? Branches { get; }
Property Value

string[]

Remarks

Default: - All branches

Back to top Generated by DocFX