Class GitPushFilter
Git push filter for trigger.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GitPushFilter : Object, IGitPushFilter
Syntax (vb)
Public Class GitPushFilter
Inherits Object
Implements IGitPushFilter
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;
var gitPushFilter = new GitPushFilter {
TagsExcludes = new [] { "tagsExcludes" },
TagsIncludes = new [] { "tagsIncludes" }
};
Synopsis
Constructors
GitPushFilter() |
Properties
TagsExcludes | The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline. |
TagsIncludes | The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline. |
Constructors
GitPushFilter()
public GitPushFilter()
Properties
TagsExcludes
The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline.
public string[] TagsExcludes { get; set; }
Property Value
System.String[]
Remarks
You can filter with glob patterns. The tagsExcludes
takes priority
over the tagsIncludes
.
Maximum length of this array is 8.
Default: - no tags.
TagsIncludes
The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline.
public string[] TagsIncludes { get; set; }
Property Value
System.String[]
Remarks
You can filter with glob patterns. The tagsExcludes
takes priority
over the tagsIncludes
.
Maximum length of this array is 8.
Default: - no tags.