buckets
Retrieves a list of buckets
in a region
Overview
Name | buckets |
Type | Resource |
Description | buckets |
Id | awscc.lightsail.buckets |
Fields
Name | Datatype | Description |
---|---|---|
bucket_name | string | The name for the bucket. |
region | string | AWS 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