Interface CfnPipeline.GitPullRequestFilterProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPipeline.GitPullRequestFilterProperty.Jsii$Proxy
Enclosing class:
CfnPipeline

@Stability(Stable) public static interface CfnPipeline.GitPullRequestFilterProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codepipeline.*;
 GitPullRequestFilterProperty gitPullRequestFilterProperty = GitPullRequestFilterProperty.builder()
         .branches(GitBranchFilterCriteriaProperty.builder()
                 .excludes(List.of("excludes"))
                 .includes(List.of("includes"))
                 .build())
         .events(List.of("events"))
         .filePaths(GitFilePathFilterCriteriaProperty.builder()
                 .excludes(List.of("excludes"))
                 .includes(List.of("includes"))
                 .build())
         .build();
 

See Also: