pub struct BucketObjectArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketObjectArgsBuilder<S>
impl<S: State> BucketObjectArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketObjectArgswhere
S: IsComplete,
pub fn build_struct(self) -> BucketObjectArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn acl(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
pub fn acl(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Canned ACL to apply. Valid values are private
, public-read
, public-read-write
, aws-exec-read
, authenticated-read
, bucket-owner-read
, and bucket-owner-full-control
. Defaults to private
.
sourcepub fn maybe_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
pub fn maybe_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Canned ACL to apply. Valid values are private
, public-read
, public-read-write
, aws-exec-read
, authenticated-read
, bucket-owner-read
, and bucket-owner-full-control
. Defaults to private
.
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketObjectArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketObjectArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the bucket to put the file in. Alternatively, an S3 access point ARN can be specified.
sourcepub fn bucket_key_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketObjectArgsBuilder<SetBucketKeyEnabled<S>>where
S::BucketKeyEnabled: IsUnset,
pub fn bucket_key_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketObjectArgsBuilder<SetBucketKeyEnabled<S>>where
S::BucketKeyEnabled: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Whether or not to use Amazon S3 Bucket Keys for SSE-KMS.
sourcepub fn maybe_bucket_key_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketObjectArgsBuilder<SetBucketKeyEnabled<S>>where
S::BucketKeyEnabled: IsUnset,
pub fn maybe_bucket_key_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketObjectArgsBuilder<SetBucketKeyEnabled<S>>where
S::BucketKeyEnabled: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Whether or not to use Amazon S3 Bucket Keys for SSE-KMS.
sourcepub fn cache_control(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
pub fn cache_control(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Caching behavior along the request/reply chain Read w3c cache_control for further details.
sourcepub fn maybe_cache_control(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
pub fn maybe_cache_control(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Caching behavior along the request/reply chain Read w3c cache_control for further details.
sourcepub fn content(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContent<S>>where
S::Content: IsUnset,
pub fn content(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContent<S>>where
S::Content: IsUnset,
sourcepub fn maybe_content(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContent<S>>where
S::Content: IsUnset,
pub fn maybe_content(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContent<S>>where
S::Content: IsUnset,
sourcepub fn content_base64(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentBase64<S>>where
S::ContentBase64: IsUnset,
pub fn content_base64(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentBase64<S>>where
S::ContentBase64: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the gzipbase64
function with small text strings. For larger objects, use source
to stream the content from a disk file.
sourcepub fn maybe_content_base64(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentBase64<S>>where
S::ContentBase64: IsUnset,
pub fn maybe_content_base64(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentBase64<S>>where
S::ContentBase64: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for small content such as the result of the gzipbase64
function with small text strings. For larger objects, use source
to stream the content from a disk file.
sourcepub fn content_disposition(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentDisposition<S>>where
S::ContentDisposition: IsUnset,
pub fn content_disposition(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentDisposition<S>>where
S::ContentDisposition: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Presentational information for the object. Read w3c content_disposition for further information.
sourcepub fn maybe_content_disposition(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentDisposition<S>>where
S::ContentDisposition: IsUnset,
pub fn maybe_content_disposition(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentDisposition<S>>where
S::ContentDisposition: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Presentational information for the object. Read w3c content_disposition for further information.
sourcepub fn content_encoding(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentEncoding<S>>where
S::ContentEncoding: IsUnset,
pub fn content_encoding(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentEncoding<S>>where
S::ContentEncoding: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Content encodings that have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
sourcepub fn maybe_content_encoding(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentEncoding<S>>where
S::ContentEncoding: IsUnset,
pub fn maybe_content_encoding(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentEncoding<S>>where
S::ContentEncoding: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Content encodings that have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read w3c content encoding for further information.
sourcepub fn content_language(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentLanguage<S>>where
S::ContentLanguage: IsUnset,
pub fn content_language(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentLanguage<S>>where
S::ContentLanguage: IsUnset,
sourcepub fn maybe_content_language(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentLanguage<S>>where
S::ContentLanguage: IsUnset,
pub fn maybe_content_language(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentLanguage<S>>where
S::ContentLanguage: IsUnset,
sourcepub fn content_type(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
pub fn content_type(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
sourcepub fn maybe_content_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
pub fn maybe_content_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
sourcepub fn etag(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetEtag<S>>where
S::Etag: IsUnset,
pub fn etag(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetEtag<S>>where
S::Etag: IsUnset,
sourcepub fn maybe_etag(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetEtag<S>>where
S::Etag: IsUnset,
pub fn maybe_etag(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetEtag<S>>where
S::Etag: IsUnset,
sourcepub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketObjectArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketObjectArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
sourcepub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketObjectArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketObjectArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
sourcepub fn key(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetKey<S>>where
S::Key: IsUnset,
pub fn key(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetKey<S>>where
S::Key: IsUnset,
sourcepub fn maybe_key(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetKey<S>>where
S::Key: IsUnset,
pub fn maybe_key(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetKey<S>>where
S::Key: IsUnset,
sourcepub fn kms_key_id(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
pub fn kms_key_id(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
ARN of the KMS Key to use for object encryption. If the S3 Bucket has server-side encryption enabled, that value will automatically be used. If referencing the aws.kms.Key
resource, use the arn
attribute. If referencing the aws.kms.Alias
data source or resource, use the target_key_arn
attribute. The provider will only perform drift detection if a configuration value is provided.
sourcepub fn maybe_kms_key_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
pub fn maybe_kms_key_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
ARN of the KMS Key to use for object encryption. If the S3 Bucket has server-side encryption enabled, that value will automatically be used. If referencing the aws.kms.Key
resource, use the arn
attribute. If referencing the aws.kms.Alias
data source or resource, use the target_key_arn
attribute. The provider will only perform drift detection if a configuration value is provided.
sourcepub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> BucketObjectArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> BucketObjectArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Map of keys/values to provision metadata (will be automatically prefixed by x-amz-meta-
, note that only lowercase label are currently supported by the AWS Go API).
sourcepub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> BucketObjectArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> BucketObjectArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Map of keys/values to provision metadata (will be automatically prefixed by x-amz-meta-
, note that only lowercase label are currently supported by the AWS Go API).
sourcepub fn object_lock_legal_hold_status(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetObjectLockLegalHoldStatus<S>>where
S::ObjectLockLegalHoldStatus: IsUnset,
pub fn object_lock_legal_hold_status(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetObjectLockLegalHoldStatus<S>>where
S::ObjectLockLegalHoldStatus: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Legal hold status that you want to apply to the specified object. Valid values are ON
and OFF
.
sourcepub fn maybe_object_lock_legal_hold_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetObjectLockLegalHoldStatus<S>>where
S::ObjectLockLegalHoldStatus: IsUnset,
pub fn maybe_object_lock_legal_hold_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetObjectLockLegalHoldStatus<S>>where
S::ObjectLockLegalHoldStatus: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Legal hold status that you want to apply to the specified object. Valid values are ON
and OFF
.
sourcepub fn object_lock_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetObjectLockMode<S>>where
S::ObjectLockMode: IsUnset,
pub fn object_lock_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetObjectLockMode<S>>where
S::ObjectLockMode: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Object lock retention mode that you want to apply to this object. Valid values are GOVERNANCE
and COMPLIANCE
.
sourcepub fn maybe_object_lock_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetObjectLockMode<S>>where
S::ObjectLockMode: IsUnset,
pub fn maybe_object_lock_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetObjectLockMode<S>>where
S::ObjectLockMode: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Object lock retention mode that you want to apply to this object. Valid values are GOVERNANCE
and COMPLIANCE
.
sourcepub fn object_lock_retain_until_date(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetObjectLockRetainUntilDate<S>>where
S::ObjectLockRetainUntilDate: IsUnset,
pub fn object_lock_retain_until_date(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetObjectLockRetainUntilDate<S>>where
S::ObjectLockRetainUntilDate: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Date and time, in RFC3339 format, when this object’s object lock will expire.
sourcepub fn maybe_object_lock_retain_until_date(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetObjectLockRetainUntilDate<S>>where
S::ObjectLockRetainUntilDate: IsUnset,
pub fn maybe_object_lock_retain_until_date(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetObjectLockRetainUntilDate<S>>where
S::ObjectLockRetainUntilDate: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Date and time, in RFC3339 format, when this object’s object lock will expire.
sourcepub fn server_side_encryption(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetServerSideEncryption<S>>where
S::ServerSideEncryption: IsUnset,
pub fn server_side_encryption(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetServerSideEncryption<S>>where
S::ServerSideEncryption: IsUnset,
sourcepub fn maybe_server_side_encryption(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetServerSideEncryption<S>>where
S::ServerSideEncryption: IsUnset,
pub fn maybe_server_side_encryption(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetServerSideEncryption<S>>where
S::ServerSideEncryption: IsUnset,
sourcepub fn source(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
pub fn source(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
sourcepub fn maybe_source(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
pub fn maybe_source(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
sourcepub fn source_hash(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetSourceHash<S>>where
S::SourceHash: IsUnset,
pub fn source_hash(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetSourceHash<S>>where
S::SourceHash: IsUnset,
sourcepub fn maybe_source_hash(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetSourceHash<S>>where
S::SourceHash: IsUnset,
pub fn maybe_source_hash(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetSourceHash<S>>where
S::SourceHash: IsUnset,
sourcepub fn storage_class(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
pub fn storage_class(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Storage Class for the object. Defaults to “STANDARD
”.
sourcepub fn maybe_storage_class(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
pub fn maybe_storage_class(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Storage Class for the object. Defaults to “STANDARD
”.
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 object. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
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 object. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
sourcepub fn website_redirect(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetWebsiteRedirect<S>>where
S::WebsiteRedirect: IsUnset,
pub fn website_redirect(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketObjectArgsBuilder<SetWebsiteRedirect<S>>where
S::WebsiteRedirect: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Target URL for website redirect.
If no content is provided through source
, content
or content_base64
, then the object will be empty.
sourcepub fn maybe_website_redirect(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetWebsiteRedirect<S>>where
S::WebsiteRedirect: IsUnset,
pub fn maybe_website_redirect(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketObjectArgsBuilder<SetWebsiteRedirect<S>>where
S::WebsiteRedirect: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Target URL for website redirect.
If no content is provided through source
, content
or content_base64
, then the object will be empty.