Package software.amazon.awscdk.triggers
Interface ITrigger
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.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.103.1 (build bef2dea)",
date="2024-10-25T14:21:25.406Z")
@Stability(Stable)
public interface ITrigger
extends software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct
Interface for triggers.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forITrigger
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.constructs.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.
-