interface GitBranchFilterCriteriaProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodePipeline.CfnPipeline.GitBranchFilterCriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#CfnPipeline_GitBranchFilterCriteriaProperty |
Java | software.amazon.awscdk.services.codepipeline.CfnPipeline.GitBranchFilterCriteriaProperty |
Python | aws_cdk.aws_codepipeline.CfnPipeline.GitBranchFilterCriteriaProperty |
TypeScript | aws-cdk-lib » aws_codepipeline » CfnPipeline » GitBranchFilterCriteriaProperty |
The Git repository branches specified as filter criteria to start the pipeline.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
const gitBranchFilterCriteriaProperty: codepipeline.CfnPipeline.GitBranchFilterCriteriaProperty = {
excludes: ['excludes'],
includes: ['includes'],
};
Properties
Name | Type | Description |
---|---|---|
excludes? | string[] | The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline. |
includes? | string[] | The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline. |
excludes?
Type:
string[]
(optional)
The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
includes?
Type:
string[]
(optional)
The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.