Interface ITrigger

All Superinterfaces:
IConstruct, software.constructs.IConstruct, IDependable, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ITrigger.Jsii$Default
All Known Implementing Classes:
ITrigger.Jsii$Proxy, Trigger, TriggerFunction

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.468Z") @Stability(Stable) public interface ITrigger extends software.amazon.jsii.JsiiSerializable, IConstruct
Interface for triggers.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for ITrigger.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    executeAfter(@NotNull software.constructs.Construct... scopes)
    Adds trigger dependencies.
    void
    executeBefore(@NotNull software.constructs.Construct... scopes)
    Adds this trigger as a dependency on other constructs.

    Methods inherited from interface software.amazon.awscdk.core.IConstruct

    getNode

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • executeAfter

      @Stability(Stable) void executeAfter(@NotNull @NotNull software.constructs.Construct... scopes)
      Adds trigger dependencies.

      Execute this trigger only after these construct scopes have been provisioned.

      Parameters:
      scopes - A list of construct scopes which this trigger will depend on. This parameter is required.
    • executeBefore

      @Stability(Stable) void executeBefore(@NotNull @NotNull software.constructs.Construct... scopes)
      Adds this trigger as a dependency on other constructs.

      This means that this trigger will get executed before the given construct(s).

      Parameters:
      scopes - A list of construct scopes which will take a dependency on this trigger. This parameter is required.