GetBucketResult

data class GetBucketResult(val arn: String, val bucket: String, val bucketDomainName: String, val bucketRegionalDomainName: String, val hostedZoneId: String, val id: String, val region: String, val websiteDomain: String, val websiteEndpoint: String)

A collection of values returned by getBucket.

Constructors

Link copied to clipboard
constructor(arn: String, bucket: String, bucketDomainName: String, bucketRegionalDomainName: String, hostedZoneId: String, id: String, region: String, websiteDomain: String, websiteEndpoint: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String

ARN of the bucket. Will be of format arn:aws:s3:::bucketname.

Link copied to clipboard
Link copied to clipboard

Bucket domain name. Will be of format bucketname.s3.amazonaws.com.

Link copied to clipboard

The bucket region-specific domain name. The bucket domain name including the region name. Please refer to the S3 endpoints reference for format. Note: AWS CloudFront allows specifying an S3 region-specific endpoint when creating an S3 origin. This will prevent redirect issues from CloudFront to the S3 Origin URL. For more information, see the Virtual Hosted-Style Requests for Other Regions section in the AWS S3 User Guide.

Link copied to clipboard

The Route 53 Hosted Zone ID for this bucket's region.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

AWS region this bucket resides in.

Link copied to clipboard

Domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records.

Link copied to clipboard

Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.