bucket_policies_list_only
Lists bucket_policies
in a region or regions, for all properties use bucket_policies
Overview
Name | bucket_policies_list_only |
Type | Resource |
Description | Resource Type definition for AWS::S3Express::BucketPolicy. |
Id | aws.s3express.bucket_policies_list_only |
Fields
Name | Datatype | Description |
---|---|---|
bucket | string | The name of the S3 directory bucket to which the policy applies. |
policy_document | object | A 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. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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