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 年前
相關內容
- 已提問 3 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前