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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for TriggerProps
    static final class 
    An implementation for TriggerProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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

      @Stability(Stable) @NotNull ProviderType getProviderType()
      The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
    • getGitConfiguration

      @Stability(Stable) @Nullable default GitConfiguration 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

      @Stability(Stable) static TriggerProps.Builder builder()
      Returns:
      a TriggerProps.Builder of TriggerProps