Class CfnPipeline.GitPushFilterProperty
The event criteria that specify when a specified repository event will start the pipeline for the specified trigger configuration, such as the lists of Git tags to include and exclude.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GitPushFilterProperty : Object, CfnPipeline.IGitPushFilterProperty
Syntax (vb)
Public Class GitPushFilterProperty
Inherits Object
Implements CfnPipeline.IGitPushFilterProperty
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 gitPushFilterProperty = new GitPushFilterProperty {
Branches = new GitBranchFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
},
FilePaths = new GitFilePathFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
},
Tags = new GitTagFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
}
};
Synopsis
Constructors
GitPushFilterProperty() |
Properties
Branches | The field that specifies to filter on branches for the push trigger configuration. |
FilePaths | The field that specifies to filter on file paths for the push trigger configuration. |
Tags | The field that contains the details for the Git tags trigger configuration. |
Constructors
GitPushFilterProperty()
public GitPushFilterProperty()
Properties
Branches
The field that specifies to filter on branches for the push trigger configuration.
public object Branches { get; set; }
Property Value
System.Object
Remarks
FilePaths
The field that specifies to filter on file paths for the push trigger configuration.
public object FilePaths { get; set; }
Property Value
System.Object
Remarks
Tags
The field that contains the details for the Git tags trigger configuration.
public CfnPipeline.IGitTagFilterCriteriaProperty Tags { get; set; }
Property Value
CfnPipeline.IGitTagFilterCriteriaProperty