feat(aws/lambda): add event invoke config - #627
Merged
sam-goodwin merged 5 commits intoJul 7, 2026
Conversation
Contributor
|
Any reason not to make this a property on |
Contributor
Author
|
Makes sense for the function-level case. One catch I noticed is that Lambda async config can also be scoped to a qualifier, so aliases/versions can have their own config. Would you prefer this PR to only cover |
Contributor
We can do it as part of this change since they're related. |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…-invoke-config # Conflicts: # packages/alchemy/src/AWS/Providers.ts
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…s props Per review: model async invocation settings as FunctionProps.eventInvokeConfig and AliasProps.eventInvokeConfig instead of a standalone resource. The shared syncEventInvokeConfig helper observes the live config, diffs, and puts or deletes to converge. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Lambda asynchronous invocation settings (retries, event age, success/failure destinations) as an
eventInvokeConfigprop onFunctionandAlias.Alias-scoped config uses the same shape on
AliasProps:Both providers converge through a shared
syncEventInvokeConfighelper: observe the live config, diff, then put — or delete it when the prop is omitted. Alias delete clears its qualifier-scoped config since Lambda does not remove it with the alias.