You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/aws-cdk-lib/triggers/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,9 @@ deployment will fail, as if a resource failed to provision. This makes it easy
57
57
to implement "self tests" via triggers by simply making a set of assertions on
58
58
some provisioned infrastructure.
59
59
60
+
Note that this behavior is only applied when invocationType is `REQUEST_RESPONSE`. When invocationType is `EVENT`, Lambda function is invoked asynchronously.
61
+
In that case, if Lambda function is invoked successfully, the trigger will success regardless of the result for the function execution.
62
+
60
63
## Order of Execution
61
64
62
65
By default, a trigger will be executed by CloudFormation after the associated
0 commit comments