interface GitPullRequestFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodePipeline.CfnPipeline.GitPullRequestFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#CfnPipeline_GitPullRequestFilterProperty |
Java | software.amazon.awscdk.services.codepipeline.CfnPipeline.GitPullRequestFilterProperty |
Python | aws_cdk.aws_codepipeline.CfnPipeline.GitPullRequestFilterProperty |
TypeScript | aws-cdk-lib » aws_codepipeline » CfnPipeline » GitPullRequestFilterProperty |
The event criteria for the pull request trigger configuration, such as the lists of branches or file paths to include and exclude.
The following are valid values for the events for this filter:
- CLOSED
- OPEN
- UPDATED
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 gitPullRequestFilterProperty: codepipeline.CfnPipeline.GitPullRequestFilterProperty = {
branches: {
excludes: ['excludes'],
includes: ['includes'],
},
events: ['events'],
filePaths: {
excludes: ['excludes'],
includes: ['includes'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| branches? | IResolvable | Git | The field that specifies to filter on branches for the pull request trigger configuration. |
| events? | string[] | The field that specifies which pull request events to filter on (OPEN, UPDATED, CLOSED) for the trigger configuration. |
| file | IResolvable | Git | The field that specifies to filter on file paths for the pull request trigger configuration. |
branches?
Type:
IResolvable | Git
(optional)
The field that specifies to filter on branches for the pull request trigger configuration.
events?
Type:
string[]
(optional)
The field that specifies which pull request events to filter on (OPEN, UPDATED, CLOSED) for the trigger configuration.
filePaths?
Type:
IResolvable | Git
(optional)
The field that specifies to filter on file paths for the pull request trigger configuration.

.NET
Go
Java
Python
TypeScript