Interface ITrigger
Interface for triggers.
Namespace: Amazon.CDK.Triggers
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITrigger
Syntax (vb)
Public Interface ITrigger
Inherits IConstruct, IDependable
Synopsis
Methods
ExecuteAfter(Construct[]) | Adds trigger dependencies. |
ExecuteBefore(Construct[]) | Adds this trigger as a dependency on other constructs. |
Methods
ExecuteAfter(Construct[])
Adds trigger dependencies.
void ExecuteAfter(params Construct[] scopes)
Parameters
- scopes Constructs.Construct[]
A list of construct scopes which this trigger will depend on.
Remarks
Execute this trigger only after these construct scopes have been provisioned.
ExecuteBefore(Construct[])
Adds this trigger as a dependency on other constructs.
void ExecuteBefore(params Construct[] scopes)
Parameters
- scopes Constructs.Construct[]
A list of construct scopes which will take a dependency on this trigger.
Remarks
This means that this trigger will get executed before the given construct(s).