Last active
June 25, 2021 07:28
-
-
Save SamWSoftware/75d40c8f1b680d1f5d205c898d79eb50 to your computer and use it in GitHub Desktop.
Amplify Guest User Iam Templates
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": "appsync:GraphQL", | |
"Resource": [ | |
"arn:aws:appsync:{REGION}:{ACCOUNT_NUMBER}:apis/{APPSYNC_API_ID}/types/Query/fields/listSongs", | |
"arn:aws:appsync:{REGION}:{ACCOUNT_NUMBER}:apis/{APPSYNC_API_ID}/types/Mutation/fields/createSong", | |
"arn:aws:appsync:{REGION}:{ACCOUNT_NUMBER}:apis/{APPSYNC_API_ID}/types/Mutation/fields/updateSong" | |
] | |
} | |
] | |
} |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"s3:GetObject" | |
], | |
"Resource": [ | |
"arn:aws:s3:::{YOUR_S3_BUCKET}/public/*" | |
], | |
"Effect": "Allow" | |
} | |
] | |
} |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": "appsync:GraphQL", | |
"Resource": "arn:aws:appsync:{REGION}:{ACCOUNT_NUMBER}:apis/{APPSYNC_API_ID}/types/Query/fields/listSongs" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment