Created
September 12, 2014 14:41
-
-
Save pcoady/2c820a109e5fe271dda3 to your computer and use it in GitHub Desktop.
Cognito-Phonegap-Tutorial-IAM
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": [ | |
"mobileanalytics:PutEvents", | |
"cognito-sync:*" | |
], | |
"Effect": "Allow", | |
"Resource": [ | |
"*" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetObject", | |
"s3:PutObject", | |
"s3:PutObjectAcl", | |
"s3:DeleteObject" | |
], | |
"Resource": [ | |
"arn:aws:s3:::backspace-cognito-test/${cognito-identity.amazonaws.com:sub}/*", | |
"arn:aws:s3:::backspace-cognito-test/${cognito-identity.amazonaws.com:sub}" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the file from the tutorial at http://backspace.technology/learn-aws-cognito.html