Skip to main content

bucket_tags

Expands all tag keys and values for buckets in a region

Overview

Namebucket_tags
TypeResource
DescriptionResource Type definition for AWS::Lightsail::Bucket
Idaws.lightsail.bucket_tags

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.
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.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all buckets in a region.

SELECT
region,
bucket_name,
bundle_id,
bucket_arn,
object_versioning,
access_rules,
resources_receiving_access,
read_only_access_accounts,
url,
able_to_update_bundle,
tag_key,
tag_value
FROM aws.lightsail.bucket_tags
WHERE region = 'us-east-1';

Permissions

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