Class CfnPipeline.GitBranchFilterCriteriaProperty
The Git repository branches specified as filter criteria to start the pipeline.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPipeline.GitBranchFilterCriteriaProperty : CfnPipeline.IGitBranchFilterCriteriaProperty
Syntax (vb)
Public Class CfnPipeline.GitBranchFilterCriteriaProperty 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() | The Git repository branches specified as filter criteria to start the pipeline. |
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()
The Git repository branches specified as filter criteria to start the pipeline.
public GitBranchFilterCriteriaProperty()
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" }
};
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
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
string[]