---
type: resource-type
title: LightsailBucket
description: aws resource type AWS::Lightsail::Bucket
name: LightsailBucket
lexicon: aws
resource_type: AWS::Lightsail::Bucket
---
`AWS::Lightsail::Bucket`, a resource type of the aws lexicon.

## Properties

- `BucketName` (`string`, required): The name for the bucket.
- `BundleId` (`string`, required): The ID of the bundle to use for the bucket.
- `AbleToUpdateBundle` (`boolean`, optional): 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.
- `AccessRules` (`LightsailBucket_AccessRules`, optional)
- `BucketArn` (`string`, optional)
- `ObjectVersioning` (`boolean`, optional): Specifies whether to enable or disable versioning of objects in the bucket.
- `ReadOnlyAccessAccounts` (`string[]`, optional): An array of strings to specify the AWS account IDs that can access the bucket.
- `ResourcesReceivingAccess` (`string[]`, optional): The names of the Lightsail resources for which to set bucket access.
- `Tags` (`LightsailBucket_Tag[]`, optional): An array of key-value pairs to apply to this resource.
- `Url` (`string`, optional): The URL of the bucket.

## Attributes

- `AbleToUpdateBundle`
- `BucketArn`
- `Url`
