Using Console
Using CLI
<bucket-name>
with the name of the S3 bucket that needs to be remediated.<bucket-name>
with the name of the S3 bucket that was remediated.This command should return the updated ACL of the S3 bucket, which should now have private access for READ_ACP.Using Python
bucket_name
variable with the name of your S3 bucket. Also, make sure that you have the necessary AWS credentials configured to run this script.