java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codepipeline.Trigger
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:04.442Z") @Stability(Stable) public class Trigger extends software.amazon.jsii.JsiiObject
Trigger.

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.*;
 Action action;
 Trigger trigger = Trigger.Builder.create()
         .providerType(ProviderType.CODE_STAR_SOURCE_CONNECTION)
         // the properties below are optional
         .gitConfiguration(GitConfiguration.builder()
                 .sourceAction(action)
                 // the properties below are optional
                 .pushFilter(List.of(GitPushFilter.builder()
                         .tagsExcludes(List.of("tagsExcludes"))
                         .tagsIncludes(List.of("tagsIncludes"))
                         .build()))
                 .build())
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    A fluent builder for Trigger.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    Trigger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Trigger(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The pipeline source action where the trigger configuration.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • Trigger

      protected Trigger(software.amazon.jsii.JsiiObjectRef objRef)
    • Trigger

      protected Trigger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Trigger

      @Stability(Stable) public Trigger(@NotNull TriggerProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • getSourceAction

      @Stability(Stable) @Nullable public IAction getSourceAction()
      The pipeline source action where the trigger configuration.