Skip to main content

buckets

Retrieves a list of buckets in a region

Overview

Namebuckets
TypeResource
Descriptionbuckets
Idawscc.lightsail.buckets

Fields

NameDatatypeDescription
bucket_namestringThe name for the bucket.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
bucket_name
FROM awscc.lightsail.buckets
WHERE region = 'us-east-1'

Permissions

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

Create

lightsail:CreateBucket,
lightsail:GetBuckets,
lightsail:GetInstance,
lightsail:UpdateBucket,
lightsail:UpdateBucketBundle,
lightsail:SetResourceAccessForBucket,
lightsail:TagResource,
lightsail:UntagResource

List

lightsail:GetBuckets