Interface CfnPipeline.PipelineTriggerDeclarationProperty

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

@Stability(Stable) public static interface CfnPipeline.PipelineTriggerDeclarationProperty extends software.amazon.jsii.JsiiSerializable
Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.

This is only supported for the CodeStarSourceConnection action type. > When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

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.*;
 PipelineTriggerDeclarationProperty pipelineTriggerDeclarationProperty = PipelineTriggerDeclarationProperty.builder()
         .providerType("providerType")
         // the properties below are optional
         .gitConfiguration(GitConfigurationProperty.builder()
                 .sourceActionName("sourceActionName")
                 // the properties below are optional
                 .pullRequest(List.of(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()))
                 .push(List.of(GitPushFilterProperty.builder()
                         .branches(GitBranchFilterCriteriaProperty.builder()
                                 .excludes(List.of("excludes"))
                                 .includes(List.of("includes"))
                                 .build())
                         .filePaths(GitFilePathFilterCriteriaProperty.builder()
                                 .excludes(List.of("excludes"))
                                 .includes(List.of("includes"))
                                 .build())
                         .tags(GitTagFilterCriteriaProperty.builder()
                                 .excludes(List.of("excludes"))
                                 .includes(List.of("includes"))
                                 .build())
                         .build()))
                 .build())
         .build();
 

See Also: