How to update AWS::AppSync::GraphQLApi authorization type to AWS_IAM?
See original GitHub issue** Which Category is your question related to? ** api
** What AWS Services are you utilizing? ** AWS AppSync
** Provide additional details e.g. code snippets ** I try to edit the cloudformation-template.json as below:
"GraphQLAPI": {
"Type": "AWS::AppSync::GraphQLApi",
"Properties": {
"Name": {
"Ref": "AppSyncApiName"
},
"AuthenticationType": "AWS_IAM"
}
},
And run amplify push. But the gql-compile transform always generate a new cloudformation template with API_KEY (or AMAZON_COGNITOR_USER_POOLS) as previous CLI configuration. So how to update AWS::AppSync::GraphQLApi authorization type to AWS_IAM?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How AWS AppSync works with IAM
Attribute-based access control (ABAC) is an authorization strategy that defines permissions based on attributes. In AWS, these attributes are called tags. You ...
Read more >Using multiple authorization types with AWS AppSync ...
To add more authorization types using the AWS AppSync console, launch the console, choose your GraphQL API, then choose Settings and scroll to ......
Read more >GraphQL API Security with AWS AppSync and Amplify
AppSync APIs must have a default authorization mode defined globally. It is possible to add additional authorization modes in the same API as ......
Read more >Authorization use cases - AWS AppSync
AWS AppSync uses resources in your own account and threads identity (user/role) information into the GraphQL request and response as a context object,...
Read more >Introducing Lambda authorization for AWS AppSync GraphQL ...
Setting up AWS Lambda as authorization mode in AppSync · Go to the Settings section of your AppSync API from the left side...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We launched multi-auth support for AppSync API (which included public APIs - with API Keys + IAM) as a part of our CLI version 3.8+. Please take a look at our documentation around it out here for more info - https://aws-amplify.github.io/docs/cli-toolchain/graphql#public-authorization
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-helpchannels for those types of questions.