Skip to main content

buckets_list_only

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

Overview

Namebuckets_list_only
TypeResource
DescriptionResource Type definition for AWS::Lightsail::Bucket
Idaws.lightsail.buckets_list_only

Fields

NameDatatypeDescription
bucket_namestringThe name for the bucket.
bundle_idstringThe ID of the bundle to use for the bucket.
bucket_arnstring
object_versioningbooleanSpecifies whether to enable or disable versioning of objects in the bucket.
access_rulesobjectAn object that sets the public accessibility of objects in the specified bucket.
resources_receiving_accessarrayThe names of the Lightsail resources for which to set bucket access.
read_only_access_accountsarrayAn array of strings to specify the AWS account IDs that can access the bucket.
tagsarrayAn array of key-value pairs to apply to this resource.
urlstringThe URL of the bucket.
able_to_update_bundlebooleanIndicates whether the bundle that is currently applied to a bucket can be changed to another bundle. You can update a bucket's bundle only one time within a monthly AWS billing cycle.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all buckets in a region.

SELECT
region,
bucket_name
FROM aws.lightsail.buckets_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the buckets_list_only resource, see buckets