pulumi_wasm_providers_aws_mini::s3::bucket

Struct BucketResult

source
pub struct BucketResult {
Show 25 fields pub acceleration_status: Output<String>, pub acl: Output<Option<String>>, pub arn: Output<String>, pub bucket: Output<String>, pub bucket_domain_name: Output<String>, pub bucket_prefix: Output<Option<String>>, pub bucket_regional_domain_name: Output<String>, pub cors_rules: Output<Option<Vec<BucketCorsRule>>>, pub force_destroy: Output<Option<bool>>, pub grants: Output<Option<Vec<BucketGrant>>>, pub hosted_zone_id: Output<String>, pub lifecycle_rules: Output<Option<Vec<BucketLifecycleRule>>>, pub loggings: Output<Option<Vec<BucketLogging>>>, pub object_lock_configuration: Output<Option<BucketObjectLockConfiguration>>, pub policy: Output<Option<String>>, pub region: Output<String>, pub replication_configuration: Output<Option<BucketReplicationConfiguration>>, pub request_payer: Output<String>, pub server_side_encryption_configuration: Output<BucketServerSideEncryptionConfiguration>, pub tags: Output<Option<HashMap<String, String>>>, pub tags_all: Output<HashMap<String, String>>, pub versioning: Output<BucketVersioning>, pub website: Output<Option<BucketWebsite>>, pub website_domain: Output<String>, pub website_endpoint: Output<String>,
}

Fields§

§acceleration_status: Output<String>

Sets the accelerate configuration of an existing bucket. Can be Enabled or Suspended.

§acl: Output<Option<String>>

The canned ACL to apply. Valid values are private, public-read, public-read-write, aws-exec-read, authenticated-read, and log-delivery-write. Defaults to private. Conflicts with grant.

§arn: Output<String>

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

§bucket: Output<String>

The name of the bucket. If omitted, this provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules may be found here.

§bucket_domain_name: Output<String>

The bucket domain name. Will be of format bucketname.s3.amazonaws.com.

§bucket_prefix: Output<Option<String>>

Creates a unique bucket name beginning with the specified prefix. Conflicts with bucket. Must be lowercase and less than or equal to 37 characters in length. A full list of bucket naming rules may be found here.

§bucket_regional_domain_name: Output<String>

The bucket region-specific domain name. The bucket domain name including the region name, please refer here for format. Note: The AWS CloudFront allows specifying S3 region-specific endpoint when creating S3 origin, it will prevent redirect issues from CloudFront to S3 Origin URL.

§cors_rules: Output<Option<Vec<BucketCorsRule>>>

A rule of Cross-Origin Resource Sharing (documented below).

§force_destroy: Output<Option<bool>>

A boolean that indicates all objects (including any locked objects) should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable.

§grants: Output<Option<Vec<BucketGrant>>>

An ACL policy grant (documented below). Conflicts with acl.

§hosted_zone_id: Output<String>

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

§lifecycle_rules: Output<Option<Vec<BucketLifecycleRule>>>

A configuration of object lifecycle management (documented below).

§loggings: Output<Option<Vec<BucketLogging>>>

A settings of bucket logging (documented below).

§object_lock_configuration: Output<Option<BucketObjectLockConfiguration>>

A configuration of S3 object locking (documented below)

NOTE: You cannot use acceleration_status in cn-north-1 or us-gov-west-1

§policy: Output<Option<String>>

A valid bucket policy JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing in a pulumi preview. In this case, please make sure you use the verbose/specific version of the policy.

§region: Output<String>

The AWS region this bucket resides in.

§replication_configuration: Output<Option<BucketReplicationConfiguration>>

A configuration of replication configuration (documented below).

§request_payer: Output<String>

Specifies who should bear the cost of Amazon S3 data transfer. Can be either BucketOwner or Requester. By default, the owner of the S3 bucket would incur the costs of any data transfer. See Requester Pays Buckets developer guide for more information.

§server_side_encryption_configuration: Output<BucketServerSideEncryptionConfiguration>

A configuration of server-side encryption configuration (documented below)

§tags: Output<Option<HashMap<String, String>>>

A map of tags to assign to the bucket. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

§tags_all: Output<HashMap<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

§versioning: Output<BucketVersioning>

A state of versioning (documented below)

§website: Output<Option<BucketWebsite>>

A website object (documented below).

§website_domain: Output<String>

The 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>

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