GetBucketResult constructor

const GetBucketResult({
  1. String? arn,
  2. String? bucket,
  3. String? bucketDomainName,
  4. String? bucketRegion,
  5. String? bucketRegionalDomainName,
  6. String? hostedZoneId,
  7. String? id,
  8. String? region,
  9. String? websiteDomain,
  10. String? websiteEndpoint,
})

Creates a new GetBucketResult. arn ARN of the bucket. Will be of format arn:aws:s3:::bucketname. bucket Optional. bucketDomainName Bucket domain name. Will be of format bucketname.s3.amazonaws.com. bucketRegion AWS region this bucket resides in. bucketRegionalDomainName 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. hostedZoneId Route 53 Hosted Zone ID for this bucket's region. id The provider-assigned unique ID for this managed resource. region Optional. websiteDomain 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. websiteEndpoint Website endpoint, if the bucket is configured with a website. If not, this will be an empty string.

Implementation

const GetBucketResult({
  this.arn,
  this.bucket,
  this.bucketDomainName,
  this.bucketRegion,
  this.bucketRegionalDomainName,
  this.hostedZoneId,
  this.id,
  this.region,
  this.websiteDomain,
  this.websiteEndpoint,
});