Interface GitPushFilter

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
GitPushFilter.Jsii$Proxy

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-04-22T23:08:09.266Z") @Stability(Stable) public interface GitPushFilter extends software.amazon.jsii.JsiiSerializable
Git push filter for trigger.

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.*;
 GitPushFilter gitPushFilter = GitPushFilter.builder()
         .branchesExcludes(List.of("branchesExcludes"))
         .branchesIncludes(List.of("branchesIncludes"))
         .filePathsExcludes(List.of("filePathsExcludes"))
         .filePathsIncludes(List.of("filePathsIncludes"))
         .tagsExcludes(List.of("tagsExcludes"))
         .tagsIncludes(List.of("tagsIncludes"))
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for GitPushFilter
    static final class 
    An implementation for GitPushFilter
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default List<String>
    The list of patterns of Git branches that, when pull request events occurs, are to be excluded from starting the pipeline.
    default List<String>
    The list of patterns of Git branches that, when pull request events occurs, are to be included as criteria that starts the pipeline.
    default List<String>
    The list of patterns of Git repository file paths that, when pull request events occurs, are to be excluded from starting the pipeline.
    default List<String>
    The list of patterns of Git repository file paths that, when pull request events occurs, are to be included as criteria that starts the pipeline.
    default List<String>
    The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline.
    default List<String>
    The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getBranchesExcludes

      @Stability(Stable) @Nullable default List<String> getBranchesExcludes()
      The list of patterns of Git branches that, when pull request events occurs, are to be excluded from starting the pipeline.

      You can filter with glob patterns. The branchesExcludes takes priority over the branchesIncludes.

      Maximum length of this array is 8.

      Default: - no branches.

    • getBranchesIncludes

      @Stability(Stable) @Nullable default List<String> getBranchesIncludes()
      The list of patterns of Git branches that, when pull request events occurs, are to be included as criteria that starts the pipeline.

      You can filter with glob patterns. The branchesExcludes takes priority over the branchesIncludes.

      Maximum length of this array is 8.

      Default: - no branches.

    • getFilePathsExcludes

      @Stability(Stable) @Nullable default List<String> getFilePathsExcludes()
      The list of patterns of Git repository file paths that, when pull request events occurs, are to be excluded from starting the pipeline.

      You can filter with glob patterns. The filePathsExcludes takes priority over the filePathsIncludes.

      Maximum length of this array is 8.

      Default: - no filePaths.

    • getFilePathsIncludes

      @Stability(Stable) @Nullable default List<String> getFilePathsIncludes()
      The list of patterns of Git repository file paths that, when pull request events occurs, are to be included as criteria that starts the pipeline.

      You can filter with glob patterns. The filePathsExcludes takes priority over the filePathsIncludes.

      Maximum length of this array is 8.

      Default: - no filePaths.

    • getTagsExcludes

      @Stability(Stable) @Nullable default List<String> getTagsExcludes()
      The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline.

      You can filter with glob patterns. The tagsExcludes takes priority over the tagsIncludes.

      Maximum length of this array is 8.

      Default: - no tags.

    • getTagsIncludes

      @Stability(Stable) @Nullable default List<String> getTagsIncludes()
      The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline.

      You can filter with glob patterns. The tagsExcludes takes priority over the tagsIncludes.

      Maximum length of this array is 8.

      Default: - no tags.

    • builder

      @Stability(Stable) static GitPushFilter.Builder builder()
      Returns:
      a GitPushFilter.Builder of GitPushFilter