1 Answer
- Newest
- Most votes
- Most comments
0
The S3 table bucket policy is documented here - https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html. Your command looks right
aws s3tables get-table-bucket-policy --table-bucket-arn arn:aws:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-bucket1
so, I think maybe $S3_TABLE_ARN is not returning correct arn, or you are using incorrect region or AWS account while running the command.
Relevant content
asked 5 years ago
- AWS OFFICIALUpdated a year ago

I double checked,
S3_TABLE_ARNis set correctly to to the ARN I got from the console. I also checked the region (actually never set any other region thanus-east-1.Well, in that case, have you actually added a bucket policy? If not, it will return "NotFoundException".