Interface TriggerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TriggerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.910Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTriggerProps
static final class
An implementation forTriggerProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic TriggerProps.Builder
builder()
default GitConfiguration
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. -
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.Builder
ofTriggerProps
-