Class CfnPipeline.GitBranchFilterCriteriaProperty
The Git repository branches specified as filter criteria to start the pipeline.
Inheritance
System.Object
CfnPipeline.GitBranchFilterCriteriaProperty
Implements
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GitBranchFilterCriteriaProperty : Object, CfnPipeline.IGitBranchFilterCriteriaProperty
Syntax (vb)
Public Class GitBranchFilterCriteriaProperty
Inherits Object
Implements CfnPipeline.IGitBranchFilterCriteriaProperty
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 gitBranchFilterCriteriaProperty = new GitBranchFilterCriteriaProperty {
Excludes = new [] { "excludes" },
Includes = new [] { "includes" }
};
Synopsis
Constructors
GitBranchFilterCriteriaProperty() |
Properties
Excludes | The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline. |
Includes | The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline. |
Constructors
GitBranchFilterCriteriaProperty()
public GitBranchFilterCriteriaProperty()
Properties
Excludes
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
public string[] Excludes { get; set; }
Property Value
System.String[]
Remarks
Includes
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.
public string[] Includes { get; set; }
Property Value
System.String[]