Skip to content
v2.275.0

ITrigger Interface ​

Interface for triggers.

Properties ​

nodeNodenodeNodenodeNodeNodeNodeNodeNode#
The tree node.

Methods ​

executeAfter(...scopes: Construct[]): voiddef execute_after(self, scopes: Construct) -> Nonepublic void executeAfter(Construct scopes)public void ExecuteAfter(Construct scopes)func ExecuteAfter(Scopes Construct)#
Adds trigger dependencies.

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

1 parameter

Parameters

  • scopesscopesscopesscopesScopes — A list of construct scopes which this trigger will depend on.
executeBefore(...scopes: Construct[]): voiddef execute_before(self, scopes: Construct) -> Nonepublic void executeBefore(Construct scopes)public void ExecuteBefore(Construct scopes)func ExecuteBefore(Scopes Construct)#
Adds this trigger as a dependency on other constructs.

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

1 parameter

Parameters

  • scopesscopesscopesscopesScopes — A list of construct scopes which will take a dependency on this trigger.
with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct#
Applies one or more mixins to this construct.

Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.

1 parameter · returns

Parameters

  • mixinsmixinsmixinsmixinsMixins — The mixins to apply.

Returns: This construct for chaining