pub struct BucketArgs {Show 21 fields
pub acceleration_status: Output<Option<String>>,
pub acl: Output<Option<String>>,
pub arn: Output<Option<String>>,
pub bucket: Output<Option<String>>,
pub bucket_prefix: Output<Option<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<Option<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 replication_configuration: Output<Option<BucketReplicationConfiguration>>,
pub request_payer: Output<Option<String>>,
pub server_side_encryption_configuration: Output<Option<BucketServerSideEncryptionConfiguration>>,
pub tags: Output<Option<HashMap<String, String>>>,
pub versioning: Output<Option<BucketVersioning>>,
pub website: Output<Option<BucketWebsite>>,
pub website_domain: Output<Option<String>>,
pub website_endpoint: Output<Option<String>>,
}
Fields§
§acceleration_status: Output<Option<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<Option<String>>
The ARN of the bucket. Will be of format arn:aws:s3:::bucketname
.
bucket: Output<Option<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_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.
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<Option<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.
replication_configuration: Output<Option<BucketReplicationConfiguration>>
A configuration of replication configuration (documented below).
request_payer: Output<Option<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<Option<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.
versioning: Output<Option<BucketVersioning>>
A state of versioning (documented below)
website: Output<Option<BucketWebsite>>
A website object (documented below).
website_domain: Output<Option<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<Option<String>>
The website endpoint, if the bucket is configured with a website. If not, this will be an empty string.
Implementations§
source§impl BucketArgs
impl BucketArgs
sourcepub fn builder() -> BucketArgsBuilder
pub fn builder() -> BucketArgsBuilder
Create an instance of BucketArgs
using the builder syntax
Trait Implementations§
source§impl Clone for BucketArgs
impl Clone for BucketArgs
source§fn clone(&self) -> BucketArgs
fn clone(&self) -> BucketArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for BucketArgs
impl RefUnwindSafe for BucketArgs
impl Send for BucketArgs
impl Sync for BucketArgs
impl Unpin for BucketArgs
impl UnwindSafe for BucketArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)