Bucket
Creates and manages Amazon S3 buckets with support for versioning, tags, and regional configuration. S3 buckets provide scalable object storage for any type of data, with features like versioning, lifecycle policies, and fine-grained access control.Props
string
The name of the bucket. Must be globally unique across all AWS accounts. Should be lowercase alphanumeric characters or hyphens.Default:
${app}-${stage}-${id}Record<string, string>
Optional tags to apply to the bucket for organization and cost tracking. Each tag is a key-value pair.
Output
string
The ARN (Amazon Resource Name) of the bucket.Format:
arn:aws:s3:::bucket-namestring
Name of the Bucket.
string
The global domain name for the bucket.Format:
bucket-name.s3.amazonaws.comstring
The regional domain name for the bucket.Format:
bucket-name.s3.region.amazonaws.comstring
The S3 hosted zone ID for the region where the bucket resides. Used for DNS configuration with Route 53.
string
The AWS region where the bucket is located.
string
The website endpoint URL if static website hosting is enabled.Format:
http://bucket-name.s3-website-region.amazonaws.comstring
The website domain if static website hosting is enabled.Format:
bucket-name.s3-website-region.amazonaws.comboolean
Whether versioning is enabled for the bucket.
string
The canned ACL applied to the bucket.Common values: private, public-read, public-read-write, authenticated-read