1 Answer
- Newest
- Most votes
- Most comments
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/
answered 3 years ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago