interface ITrigger
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Triggers.ITrigger |
Go | github.com/aws/aws-cdk-go/awscdk/v2/triggers#ITrigger |
Java | software.amazon.awscdk.triggers.ITrigger |
Python | aws_cdk.triggers.ITrigger |
TypeScript (source) | aws-cdk-lib » triggers » ITrigger |
Implements
IDependable, IConstruct
Implemented by
Trigger, Trigger
Interface for triggers.
Properties
| Name | Type | Description |
|---|---|---|
| node | Node | The tree node. |
node
Type:
Node
The tree node.
Methods
| Name | Description |
|---|---|
| execute | Adds trigger dependencies. |
| execute | Adds this trigger as a dependency on other constructs. |
| with(...mixins) | Applies one or more mixins to this construct. |
executeAfter(...scopes)
public executeAfter(...scopes: Construct[]): void
Parameters
- scopes
Construct— A list of construct scopes which this trigger will depend on.
Adds trigger dependencies.
Execute this trigger only after these construct scopes have been provisioned.
executeBefore(...scopes)
public executeBefore(...scopes: Construct[]): void
Parameters
- scopes
Construct— A list of construct scopes which will take a dependency on this trigger.
Adds this trigger as a dependency on other constructs.
This means that this trigger will get executed before the given construct(s).
with(...mixins)
public with(...mixins: IMixin[]): IConstruct
Parameters
- mixins
IMixin— The mixins to apply.
Returns
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.

.NET
Go
Java
Python
TypeScript (