Carina

Data source

aws.s3.Bucket

This is a data source (read-only). Use with the read keyword.

Example

let bucket = read aws.s3.Bucket {
  # Replace with the name of an existing S3 bucket that the caller can read.
  bucket = 'carina-example-existing-bucket'
}

Lookup Inputs

bucket

Name of the S3 bucket to look up.

Attributes

arn

ARN of the bucket.

region

AWS region the bucket is in.

bucket_domain_name

Bucket domain name (<bucket>.s3.amazonaws.com).

bucket_regional_domain_name

Region-specific bucket domain name (<bucket>.s3.<region>.amazonaws.com).

hosted_zone_id

Route 53 Hosted Zone ID for the bucket's region.