buckets_list_only
Lists buckets
in a region or regions, for all properties use buckets
Overview
Name | buckets_list_only |
Type | Resource |
Description | Resource Type definition for AWS::Lightsail::Bucket |
Id | aws.lightsail.buckets_list_only |
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. |
tags | array | An array of key-value pairs to apply to this resource. |
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. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
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