1 回答
- 最新
- 投票最多
- 评论最多
1
Correct.
You need to add this policy into your S3 bucket policy (https://docs.aws.amazon.com/AmazonS3/latest/userguide/add-bucket-policy.html)
You need to change the Resource part (arn:aws:s3:::awsexamplebucket
in your example ) into your bucket's ARN (You can find your bucket's ARN on the console while modifying bucket policy)
This policy will reject any request made on the bucket, which doesn't through HTTPS
Ref: https://aws.amazon.com/premiumsupport/knowledge-center/s3-bucket-policy-for-config-rule/
已回答 2 年前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 9 个月前