bucket_policies
Retrieves a list of bucket_policies
in a region
Overview
Name | bucket_policies |
Type | Resource |
Description | bucket_policies |
Id | awscc.s3.bucket_policies |
Fields
Name | Datatype | Description |
---|---|---|
bucket | string | The name of the Amazon S3 bucket to which the policy applies. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
bucket
FROM awscc.s3.bucket_policies
WHERE region = 'us-east-1'
Permissions
To operate on the bucket_policies
resource, the following permissions are required:
Create
s3:GetBucketPolicy,
s3:PutBucketPolicy
List
s3:GetBucketPolicy,
s3:ListAllMyBuckets