ITrigger

class aws_cdk.triggers.ITrigger(*args, **kwargs)

Bases: IConstruct, Protocol

Interface for triggers.

Methods

execute_after(*scopes)

Adds trigger dependencies.

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

Parameters:

scopes (Construct) – A list of construct scopes which this trigger will depend on.

Return type:

None

execute_before(*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 (Construct) – A list of construct scopes which will take a dependency on this trigger.

Return type:

None

Attributes

node

The tree node.