GetBucketPolicy for Cloud Storage
GetBucketPolicy - Amazon Simple Storage Service
Example GetBucketPolicy request
user@host % aws s3api get-bucket-policy --bucket pubreadbuc
{
"Policy": "{\n
\"Version\": \"2012-10-17\",\n
\"Statement\": [\n
{\n
\"Sid\": \"PublicReadGetObject\",\n
\"Effect\": \"Allow\",\n
\"Principal\": \"*\",\n
\"Action\": \"s3:GetObject\",\n
\"Resource\": \"arn:aws:s3:::pubreadbuc *\"\n
}\n
]\n
}\n
\n"
}