pulumi_wasm_providers_aws_mini::functions::s3::get_bucket

Struct GetBucketResult

source
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.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.