【发布时间】:2015-02-15 03:23:44
【问题描述】:
我正在开发一个将文件加载到 s3 中的应用程序,按照这个示例
https://github.com/awslabs/aws-sdk-ios-samples/tree/master/S3BackgroundTransfer-Sample/Objective-C
在读我它说
In the Amazon Cognito console, use Amazon Cognito to create a new identity
pool. Obtain the PoolID constant. Make sure the role has full permissions for
the bucket you created.
这让我很困惑,当我转到 IAM 角色并管理用户时,我看到我可以添加 AmazonS3FullAccess 策略,但我无法指定实际的存储桶名称! 单击显示策略时,我会弹出此窗口
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
}
]
}
并且它是只读的。我有一个 s3 存储桶,想确保 IAM 用户可以访问它,但不知道如何在 AWS 网站上执行此操作。
【问题讨论】:
标签: ios amazon-web-services amazon-s3 amazon