{ "Version":"2012-10-17", "Statement":[ { "Effect":"Allow", "Action":[ "s3:GetObject", "s3:GetObjectVersion" ], "Resource":"arn:aws:s3::://*" }, { "Effect":"Allow", "Action":"s3:GetBucketLocation", "Resource":"arn:aws:s3:::" }, { "Effect":"Allow", "Action":"s3:ListBucket", "Resource":"arn:aws:s3:::", "Condition":{ "StringLike":{ "s3:prefix":[ "/*" ] } } }, { "Effect":"Allow", "Action":[ "glue:GetTables" ], "Resource":[ "arn:aws:glue:::catalog", "arn:aws:glue:::database/", "arn:aws:glue:::table//*" ] } ] }