bucket_tags
Expands all tag keys and values for buckets
in a region
Overview
Name | bucket_tags |
Type | Resource |
Description | Resource Type definition for AWS::Lightsail::Bucket |
Id | aws.lightsail.bucket_tags |
Fields
Name | Datatype | Description |
---|---|---|
bucket_name | string | The name for the bucket. |
bundle_id | string | The ID of the bundle to use for the bucket. |
bucket_arn | string | |
object_versioning | boolean | Specifies whether to enable or disable versioning of objects in the bucket. |
access_rules | object | An object that sets the public accessibility of objects in the specified bucket. |
resources_receiving_access | array | The names of the Lightsail resources for which to set bucket access. |
read_only_access_accounts | array | An array of strings to specify the AWS account IDs that can access the bucket. |
url | string | The URL of the bucket. |
able_to_update_bundle | boolean | Indicates 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_key | string | Tag key. |
tag_value | string | Tag value. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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