pub struct GetBucketResult {
pub arn: Output<String>,
pub bucket: Output<String>,
pub bucket_domain_name: Output<String>,
pub bucket_regional_domain_name: Output<String>,
pub hosted_zone_id: Output<String>,
pub id: Output<String>,
pub region: Output<String>,
pub website_domain: Output<String>,
pub website_endpoint: Output<String>,
}
Fields§
§arn: Output<String>
ARN of the bucket. Will be of format arn:aws:s3:::bucketname
.
bucket: Output<String>
§bucket_domain_name: Output<String>
Bucket domain name. Will be of format bucketname.s3.amazonaws.com
.
bucket_regional_domain_name: Output<String>
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.
hosted_zone_id: Output<String>
The Route 53 Hosted Zone ID for this bucket’s region.
id: Output<String>
The provider-assigned unique ID for this managed resource.
region: Output<String>
AWS region this bucket resides in.
website_domain: Output<String>
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.
website_endpoint: Output<String>
Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.