Skip to main content

bucket_policies_list_only

Lists bucket_policies in a region or regions, for all properties use bucket_policies

Overview

Namebucket_policies_list_only
TypeResource
DescriptionResource Type definition for AWS::S3Express::BucketPolicy.
Idaws.s3express.bucket_policies_list_only

Fields

NameDatatypeDescription
bucketstringThe name of the S3 directory bucket to which the policy applies.
policy_documentobjectA policy document containing permissions to add to the specified bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all bucket_policies in a region.

SELECT
region,
bucket
FROM aws.s3express.bucket_policies_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the bucket_policies_list_only resource, see bucket_policies