Skip to main content

directory_buckets

Retrieves a list of directory_buckets in a region

Overview

Namedirectory_buckets
TypeResource
Descriptiondirectory_buckets
Idawscc.s3express.directory_buckets

Fields

NameDatatypeDescription
bucket_namestringSpecifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
bucket_name
FROM awscc.s3express.directory_buckets
WHERE region = 'us-east-1'

Permissions

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

Create

s3express:CreateBucket,
s3express:ListAllMyDirectoryBuckets

List

s3express:ListAllMyDirectoryBuckets