-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(appsync): Add ability to add additional authorization mode on existing appsyn api #30398
Comments
Hi @olehrdk , thanks for reaching out. I am not very much clear about your ask here. I see these are the supported authorization modes which includes cognito user pool and here is a doc on how you could use additional authorization modes. |
I have a similar setup:
How to add these User Pools to the existing imported IGraphqlApi fromGraphqlApiAttributes?
cdk --version |
Hi @olehrdk @bschulz87 , if I understood correctly, you have a Modifying imported resources (e.g. a |
Yes. I am aware that CDK is built upon CloudFormation which also has no way to add User Pools to an imported AppSync Resource. Once it is possible there i would still love to see the requested feature here. |
Describe the feature
Add support for additional authorization modes on existing app sync api (retrieved by calling
appsync.GraphqlApi.fromGraphqlApiAttributes
)Use Case
I have Amplify project with default Cognito user pool authorization mode. I want to add one more user pool as additional mode. Amplify does not support 2 user pools, that's why I use CDK to create one more user pool, and want to be able to add it as additional mode to my app sync api with CDK.
Proposed Solution
Add new method (
addAdditionalAuthorizationModes
) onIGraphqlApi
similar tosetupAdditionalAuthorizationModes
which will add additional authorizations modes to existing app sync api.Other Information
No response
Acknowledgements
CDK version used
2.143.1
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: