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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPipeline.PipelineTriggerDeclarationProperty
static final class
An implementation forCfnPipeline.PipelineTriggerDeclarationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getProviderType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.- See Also:
-
getGitConfiguration
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.- See Also:
-
builder
-