Skip to main content

bucket_policies

Retrieves a list of bucket_policies in a region

Overview

Namebucket_policies
TypeResource
Descriptionbucket_policies
Idawscc.s3express.bucket_policies

Fields

NameDatatypeDescription
bucketstringThe name of the S3 directory bucket to which the policy applies.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
bucket
FROM awscc.s3express.bucket_policies
WHERE region = 'us-east-1'

Permissions

To operate on the bucket_policies resource, the following permissions are required:

Create

s3express:GetBucketPolicy,
s3express:PutBucketPolicy

List

s3express:GetBucketPolicy,
s3express:ListAllMyDirectoryBuckets