pub struct BucketV2ArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketV2ArgsBuilder<S>
impl<S: State> BucketV2ArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketV2Argswhere
S: IsComplete,
pub fn build_struct(self) -> BucketV2Argswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn acceleration_status(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetAccelerationStatus<S>>where
S::AccelerationStatus: IsUnset,
pub fn acceleration_status(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetAccelerationStatus<S>>where
S::AccelerationStatus: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Sets the accelerate configuration of an existing bucket. Can be Enabled
or Suspended
. Cannot be used in cn-north-1
or us-gov-west-1
. This provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketAccelerateConfigurationV2
instead.
sourcepub fn maybe_acceleration_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetAccelerationStatus<S>>where
S::AccelerationStatus: IsUnset,
pub fn maybe_acceleration_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetAccelerationStatus<S>>where
S::AccelerationStatus: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Sets the accelerate configuration of an existing bucket. Can be Enabled
or Suspended
. Cannot be used in cn-north-1
or us-gov-west-1
. This provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketAccelerateConfigurationV2
instead.
sourcepub fn acl(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
pub fn acl(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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
. The provider will only perform drift detection if a configuration value is provided. Use the resource aws.s3.BucketAclV2
instead.
sourcepub fn maybe_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
pub fn maybe_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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
. The provider will only perform drift detection if a configuration value is provided. Use the resource aws.s3.BucketAclV2
instead.
sourcepub fn bucket(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the bucket. If omitted, the 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. The name must not be in the format [bucket_name]--[azid]--x-s3
. Use the aws.s3.DirectoryBucket
resource to manage S3 Express buckets.
sourcepub fn maybe_bucket(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn maybe_bucket(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the bucket. If omitted, the 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. The name must not be in the format [bucket_name]--[azid]--x-s3
. Use the aws.s3.DirectoryBucket
resource to manage S3 Express buckets.
sourcepub fn bucket_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetBucketPrefix<S>>where
S::BucketPrefix: IsUnset,
pub fn bucket_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetBucketPrefix<S>>where
S::BucketPrefix: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn maybe_bucket_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetBucketPrefix<S>>where
S::BucketPrefix: IsUnset,
pub fn maybe_bucket_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetBucketPrefix<S>>where
S::BucketPrefix: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
sourcepub fn cors_rules(
self,
value: impl Into<Output<Option<Vec<BucketV2CorsRule>>>>,
) -> BucketV2ArgsBuilder<SetCorsRules<S>>where
S::CorsRules: IsUnset,
pub fn cors_rules(
self,
value: impl Into<Output<Option<Vec<BucketV2CorsRule>>>>,
) -> BucketV2ArgsBuilder<SetCorsRules<S>>where
S::CorsRules: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2CorsRule>>,
> as Default>::default()
Rule of Cross-Origin Resource Sharing. See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource aws.s3.BucketCorsConfigurationV2
instead.
sourcepub fn maybe_cors_rules(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2CorsRule>>>>>,
) -> BucketV2ArgsBuilder<SetCorsRules<S>>where
S::CorsRules: IsUnset,
pub fn maybe_cors_rules(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2CorsRule>>>>>,
) -> BucketV2ArgsBuilder<SetCorsRules<S>>where
S::CorsRules: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2CorsRule>>,
> as Default>::default()
Rule of Cross-Origin Resource Sharing. See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource aws.s3.BucketCorsConfigurationV2
instead.
sourcepub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketV2ArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketV2ArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Boolean that indicates all objects (including any locked objects) should be deleted from the bucket when the bucket is destroyed so that the bucket can be destroyed without error. These objects are not recoverable. This only deletes objects when the bucket is destroyed, not when setting this parameter to true
. Once this parameter is set to true
, there must be a successful pulumi up
run before a destroy is required to update this value in the resource state. Without a successful pulumi up
after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful pulumi up
is required to set this value in state before it will take effect on a destroy operation.
sourcepub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketV2ArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketV2ArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Boolean that indicates all objects (including any locked objects) should be deleted from the bucket when the bucket is destroyed so that the bucket can be destroyed without error. These objects are not recoverable. This only deletes objects when the bucket is destroyed, not when setting this parameter to true
. Once this parameter is set to true
, there must be a successful pulumi up
run before a destroy is required to update this value in the resource state. Without a successful pulumi up
after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful pulumi up
is required to set this value in state before it will take effect on a destroy operation.
sourcepub fn grants(
self,
value: impl Into<Output<Option<Vec<BucketV2Grant>>>>,
) -> BucketV2ArgsBuilder<SetGrants<S>>where
S::Grants: IsUnset,
pub fn grants(
self,
value: impl Into<Output<Option<Vec<BucketV2Grant>>>>,
) -> BucketV2ArgsBuilder<SetGrants<S>>where
S::Grants: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2Grant>>,
> as Default>::default()
An ACL policy grant. See Grant below for details. Conflicts with acl
. The provider will only perform drift detection if a configuration value is provided. Use the resource aws.s3.BucketAclV2
instead.
sourcepub fn maybe_grants(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2Grant>>>>>,
) -> BucketV2ArgsBuilder<SetGrants<S>>where
S::Grants: IsUnset,
pub fn maybe_grants(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2Grant>>>>>,
) -> BucketV2ArgsBuilder<SetGrants<S>>where
S::Grants: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2Grant>>,
> as Default>::default()
An ACL policy grant. See Grant below for details. Conflicts with acl
. The provider will only perform drift detection if a configuration value is provided. Use the resource aws.s3.BucketAclV2
instead.
sourcepub fn lifecycle_rules(
self,
value: impl Into<Output<Option<Vec<BucketV2LifecycleRule>>>>,
) -> BucketV2ArgsBuilder<SetLifecycleRules<S>>where
S::LifecycleRules: IsUnset,
pub fn lifecycle_rules(
self,
value: impl Into<Output<Option<Vec<BucketV2LifecycleRule>>>>,
) -> BucketV2ArgsBuilder<SetLifecycleRules<S>>where
S::LifecycleRules: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2LifecycleRule>>,
> as Default>::default()
Configuration of object lifecycle management. See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketLifecycleConfigurationV2
instead.
sourcepub fn maybe_lifecycle_rules(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2LifecycleRule>>>>>,
) -> BucketV2ArgsBuilder<SetLifecycleRules<S>>where
S::LifecycleRules: IsUnset,
pub fn maybe_lifecycle_rules(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2LifecycleRule>>>>>,
) -> BucketV2ArgsBuilder<SetLifecycleRules<S>>where
S::LifecycleRules: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2LifecycleRule>>,
> as Default>::default()
Configuration of object lifecycle management. See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketLifecycleConfigurationV2
instead.
sourcepub fn loggings(
self,
value: impl Into<Output<Option<Vec<BucketV2Logging>>>>,
) -> BucketV2ArgsBuilder<SetLoggings<S>>where
S::Loggings: IsUnset,
pub fn loggings(
self,
value: impl Into<Output<Option<Vec<BucketV2Logging>>>>,
) -> BucketV2ArgsBuilder<SetLoggings<S>>where
S::Loggings: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2Logging>>,
> as Default>::default()
Configuration of S3 bucket logging parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketLoggingV2
instead.
sourcepub fn maybe_loggings(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2Logging>>>>>,
) -> BucketV2ArgsBuilder<SetLoggings<S>>where
S::Loggings: IsUnset,
pub fn maybe_loggings(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2Logging>>>>>,
) -> BucketV2ArgsBuilder<SetLoggings<S>>where
S::Loggings: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2Logging>>,
> as Default>::default()
Configuration of S3 bucket logging parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketLoggingV2
instead.
sourcepub fn object_lock_configuration(
self,
value: impl Into<Output<Option<BucketV2ObjectLockConfiguration>>>,
) -> BucketV2ArgsBuilder<SetObjectLockConfiguration<S>>where
S::ObjectLockConfiguration: IsUnset,
pub fn object_lock_configuration(
self,
value: impl Into<Output<Option<BucketV2ObjectLockConfiguration>>>,
) -> BucketV2ArgsBuilder<SetObjectLockConfiguration<S>>where
S::ObjectLockConfiguration: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::s3::BucketV2ObjectLockConfiguration>,
> as Default>::default()
Configuration of S3 object locking. See Object Lock Configuration below for details.
The provider wil only perform drift detection if a configuration value is provided.
Use the object_lock_enabled
parameter and the resource aws.s3.BucketObjectLockConfigurationV2
instead.
sourcepub fn maybe_object_lock_configuration(
self,
value: Option<impl Into<Output<Option<BucketV2ObjectLockConfiguration>>>>,
) -> BucketV2ArgsBuilder<SetObjectLockConfiguration<S>>where
S::ObjectLockConfiguration: IsUnset,
pub fn maybe_object_lock_configuration(
self,
value: Option<impl Into<Output<Option<BucketV2ObjectLockConfiguration>>>>,
) -> BucketV2ArgsBuilder<SetObjectLockConfiguration<S>>where
S::ObjectLockConfiguration: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::s3::BucketV2ObjectLockConfiguration>,
> as Default>::default()
Configuration of S3 object locking. See Object Lock Configuration below for details.
The provider wil only perform drift detection if a configuration value is provided.
Use the object_lock_enabled
parameter and the resource aws.s3.BucketObjectLockConfigurationV2
instead.
sourcepub fn object_lock_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketV2ArgsBuilder<SetObjectLockEnabled<S>>where
S::ObjectLockEnabled: IsUnset,
pub fn object_lock_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketV2ArgsBuilder<SetObjectLockEnabled<S>>where
S::ObjectLockEnabled: IsUnset,
sourcepub fn maybe_object_lock_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketV2ArgsBuilder<SetObjectLockEnabled<S>>where
S::ObjectLockEnabled: IsUnset,
pub fn maybe_object_lock_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketV2ArgsBuilder<SetObjectLockEnabled<S>>where
S::ObjectLockEnabled: IsUnset,
sourcepub fn policy(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
pub fn policy(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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 this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide.
The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketPolicy
instead.
sourcepub fn maybe_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
pub fn maybe_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetPolicy<S>>where
S::Policy: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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 this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide.
The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketPolicy
instead.
sourcepub fn replication_configurations(
self,
value: impl Into<Output<Option<Vec<BucketV2ReplicationConfiguration>>>>,
) -> BucketV2ArgsBuilder<SetReplicationConfigurations<S>>where
S::ReplicationConfigurations: IsUnset,
pub fn replication_configurations(
self,
value: impl Into<Output<Option<Vec<BucketV2ReplicationConfiguration>>>>,
) -> BucketV2ArgsBuilder<SetReplicationConfigurations<S>>where
S::ReplicationConfigurations: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2ReplicationConfiguration>>,
> as Default>::default()
Configuration of replication configuration. See Replication Configuration below for details. The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketReplicationConfig
instead.
sourcepub fn maybe_replication_configurations(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2ReplicationConfiguration>>>>>,
) -> BucketV2ArgsBuilder<SetReplicationConfigurations<S>>where
S::ReplicationConfigurations: IsUnset,
pub fn maybe_replication_configurations(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2ReplicationConfiguration>>>>>,
) -> BucketV2ArgsBuilder<SetReplicationConfigurations<S>>where
S::ReplicationConfigurations: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2ReplicationConfiguration>>,
> as Default>::default()
Configuration of replication configuration. See Replication Configuration below for details. The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketReplicationConfig
instead.
sourcepub fn request_payer(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetRequestPayer<S>>where
S::RequestPayer: IsUnset,
pub fn request_payer(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketV2ArgsBuilder<SetRequestPayer<S>>where
S::RequestPayer: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketRequestPaymentConfigurationV2
instead.
sourcepub fn maybe_request_payer(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetRequestPayer<S>>where
S::RequestPayer: IsUnset,
pub fn maybe_request_payer(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketV2ArgsBuilder<SetRequestPayer<S>>where
S::RequestPayer: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
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.
The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketRequestPaymentConfigurationV2
instead.
sourcepub fn server_side_encryption_configurations(
self,
value: impl Into<Output<Option<Vec<BucketV2ServerSideEncryptionConfiguration>>>>,
) -> BucketV2ArgsBuilder<SetServerSideEncryptionConfigurations<S>>where
S::ServerSideEncryptionConfigurations: IsUnset,
pub fn server_side_encryption_configurations(
self,
value: impl Into<Output<Option<Vec<BucketV2ServerSideEncryptionConfiguration>>>>,
) -> BucketV2ArgsBuilder<SetServerSideEncryptionConfigurations<S>>where
S::ServerSideEncryptionConfigurations: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2ServerSideEncryptionConfiguration>>,
> as Default>::default()
Configuration of server-side encryption configuration. See Server Side Encryption Configuration below for details.
The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketServerSideEncryptionConfigurationV2
instead.
sourcepub fn maybe_server_side_encryption_configurations(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2ServerSideEncryptionConfiguration>>>>>,
) -> BucketV2ArgsBuilder<SetServerSideEncryptionConfigurations<S>>where
S::ServerSideEncryptionConfigurations: IsUnset,
pub fn maybe_server_side_encryption_configurations(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2ServerSideEncryptionConfiguration>>>>>,
) -> BucketV2ArgsBuilder<SetServerSideEncryptionConfigurations<S>>where
S::ServerSideEncryptionConfigurations: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2ServerSideEncryptionConfiguration>>,
> as Default>::default()
Configuration of server-side encryption configuration. See Server Side Encryption Configuration below for details.
The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketServerSideEncryptionConfigurationV2
instead.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.
The following arguments are deprecated, and will be removed in a future major version:
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.
The following arguments are deprecated, and will be removed in a future major version:
sourcepub fn versionings(
self,
value: impl Into<Output<Option<Vec<BucketV2Versioning>>>>,
) -> BucketV2ArgsBuilder<SetVersionings<S>>where
S::Versionings: IsUnset,
pub fn versionings(
self,
value: impl Into<Output<Option<Vec<BucketV2Versioning>>>>,
) -> BucketV2ArgsBuilder<SetVersionings<S>>where
S::Versionings: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2Versioning>>,
> as Default>::default()
Configuration of the S3 bucket versioning state. See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource aws.s3.BucketVersioningV2
instead.
sourcepub fn maybe_versionings(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2Versioning>>>>>,
) -> BucketV2ArgsBuilder<SetVersionings<S>>where
S::Versionings: IsUnset,
pub fn maybe_versionings(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2Versioning>>>>>,
) -> BucketV2ArgsBuilder<SetVersionings<S>>where
S::Versionings: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2Versioning>>,
> as Default>::default()
Configuration of the S3 bucket versioning state. See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource aws.s3.BucketVersioningV2
instead.
sourcepub fn websites(
self,
value: impl Into<Output<Option<Vec<BucketV2Website>>>>,
) -> BucketV2ArgsBuilder<SetWebsites<S>>where
S::Websites: IsUnset,
pub fn websites(
self,
value: impl Into<Output<Option<Vec<BucketV2Website>>>>,
) -> BucketV2ArgsBuilder<SetWebsites<S>>where
S::Websites: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2Website>>,
> as Default>::default()
Configuration of the S3 bucket website. See Website below for details. The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketWebsiteConfigurationV2
instead.
sourcepub fn maybe_websites(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2Website>>>>>,
) -> BucketV2ArgsBuilder<SetWebsites<S>>where
S::Websites: IsUnset,
pub fn maybe_websites(
self,
value: Option<impl Into<Output<Option<Vec<BucketV2Website>>>>>,
) -> BucketV2ArgsBuilder<SetWebsites<S>>where
S::Websites: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::s3::BucketV2Website>>,
> as Default>::default()
Configuration of the S3 bucket website. See Website below for details. The provider will only perform drift detection if a configuration value is provided.
Use the resource aws.s3.BucketWebsiteConfigurationV2
instead.