Interface TriggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TriggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:35.067Z")
@Stability(Stable)
public interface TriggerProps
extends software.amazon.jsii.JsiiSerializable
Properties of trigger.
Example:
Pipeline pipeline;
CodeStarConnectionsSourceAction sourceAction;
pipeline.addTrigger(TriggerProps.builder()
.providerType(ProviderType.CODE_STAR_SOURCE_CONNECTION)
.gitConfiguration(GitConfiguration.builder()
.sourceAction(sourceAction)
.pushFilter(List.of(GitPushFilter.builder()
.tagsExcludes(List.of("exclude1", "exclude2"))
.tagsIncludes(List.of("include*"))
.build()))
.build())
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTriggerPropsstatic final classAn implementation forTriggerProps -
Method Summary
Modifier and TypeMethodDescriptionstatic TriggerProps.Builderbuilder()default GitConfigurationProvides 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. -
getGitConfiguration
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.Default: - no configuration.
-
builder
- Returns:
- a
TriggerProps.BuilderofTriggerProps
-