Hotswap + AppSync: Support for Hotswapping AppSync Schemas #24113
Labels
@aws-cdk/aws-appsync
Related to AWS AppSync
feature-request
A feature should be added or improved.
p3
Describe the feature
Today, AppSync users have some limited hotswap capabilities in terms of updating Resolver and Function code, but they cannot update their GraphQL Schema, which I'd contend is the other most commonly iterated on part of an API.
I'd like to propose adding a new Hotswap for GraphQL Schema which will leverage the
StartSchemaCreationCommand
, and add a poller for theGetSchemaCreationStatusCommand
with some upper-bound timeout (e.g. 30s).This should allow iteration on more happy-case changes without needing to fallback to a full deploy, and hopefully take trivial schema changes (e.g. adding a field to a type) from ~100 seconds today to ~10 seconds as is seen w/ other hotswapped resources.
Use Case
I've written up a series of feature requests which I think will add to a faster, more fluid experience for AppSync users:
Proposed Solution
Add Hotswap for AppSyncGraphQLSchema resources.
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: