Hotswap + AppSync: Support for Hotswapping AppSync Resolvers and Functions with Code instead of VTL templates #24111
Labels
@aws-cdk/aws-appsync
Related to AWS AppSync
feature-request
A feature should be added or improved.
p3
Describe the feature
In 2022, AppSync launched support for Code-based resolvers, initially supporting Javascript runtimes. https://docs.aws.amazon.com/appsync/latest/devguide/resolver-reference-overview-js.html. It looks like Code-based resolvers don't work with Hotswap, which we'd like to enable for easier iteration by customers.
Use Case
I'd love to have a more fluid iteration experience while working on the business logic for my AppSync APIs.
Proposed Solution
Add 'RUNTIME' and 'CODE' to hotswap capable parameters for AppSync Resolvers and Functions.
Draft PR (which hardcodes the runtime while I was testing) is here fa43af1 though we'll need to figure out why it complains about the 'runtime' input being invalid, and add tests.
Other Information
No response
Acknowledgements
CDK version used
2.64.0
Environment details (OS name and version, etc.)
osx 13.2
The text was updated successfully, but these errors were encountered: