AWS::Lightsail::BucketResource Type definition for AWS::Lightsail::Bucket
7 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
BucketName | string | RequiredCreate-only |
BundleId | string | Required |
AccessRules | AccessRules | |
ObjectVersioning | boolean | |
ReadOnlyAccessAccounts | Array<string> | |
ResourcesReceivingAccess | Array<string> | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AbleToUpdateBundle | 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. |
BucketArn | string | - |
Url | string | The URL of the bucket. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lightsail::Bucket
Resources:
MyResource:
Type: AWS::Lightsail::Bucket
Properties:
BucketName: "my-bucketname"
BundleId: "my-bundleid"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
lightsail:CreateBucketlightsail:GetBucketslightsail:GetInstancelightsail:UpdateBucketlightsail:UpdateBucketBundlelightsail:SetResourceAccessForBucketlightsail:TagResourcelightsail:UntagResourcelightsail:GetBucketslightsail:DeleteBucketlightsail:GetBucketslightsail:GetBucketslightsail:GetBucketslightsail:GetInstancelightsail:UpdateBucketlightsail:UpdateBucketBundlelightsail:SetResourceAccessForBucketlightsail:TagResourcelightsail:UntagResourceOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterBucketNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
BucketName