Package software.amazon.awscdk.triggers
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
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.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.
-