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.
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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPipeline.GitPullRequestFilterProperty
static final class
An implementation forCfnPipeline.GitPullRequestFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The field that specifies to filter on branches for the pull request trigger configuration.The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.default Object
The field that specifies to filter on file paths for the pull request trigger configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBranches
The field that specifies to filter on branches for the pull request trigger configuration.- See Also:
-
getEvents
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.- See Also:
-
getFilePaths
The field that specifies to filter on file paths for the pull request trigger configuration.- See Also:
-
builder
-