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
incn-north-1
orus-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)
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.
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.