bucket_policy
Gets an individual bucket_policy
resource
Overview
Name | bucket_policy |
Type | Resource |
Description | bucket_policy |
Id | awscc.s3outposts.bucket_policy |
Fields
Name | Datatype | Description |
---|---|---|
bucket | string | The Amazon Resource Name (ARN) of the specified bucket. |
policy_document | object | A policy document containing permissions to add to the specified bucket. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
bucket,
policy_document
FROM awscc.s3outposts.bucket_policy
WHERE data__Identifier = '<Bucket>';
Permissions
To operate on the bucket_policy
resource, the following permissions are required:
Read
s3-outposts:GetBucketPolicy
Update
s3-outposts:PutBucketPolicy,
s3-outposts:GetBucketPolicy
Delete
s3-outposts:DeleteBucketPolicy,
s3-outposts:GetBucketPolicy