pub struct ObjectCopyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ObjectCopyArgsBuilder<S>
impl<S: State> ObjectCopyArgsBuilder<S>
sourcepub fn build_struct(self) -> ObjectCopyArgswhere
S: IsComplete,
pub fn build_struct(self) -> ObjectCopyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn acl(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
pub fn acl(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<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
, authenticated-read
, aws-exec-read
, bucket-owner-read
, and bucket-owner-full-control
. Conflicts with grant
.
sourcepub fn maybe_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
pub fn maybe_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<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
, authenticated-read
, aws-exec-read
, bucket-owner-read
, and bucket-owner-full-control
. Conflicts with grant
.
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> ObjectCopyArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> ObjectCopyArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the bucket to put the file in.
sourcepub fn bucket_key_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> ObjectCopyArgsBuilder<SetBucketKeyEnabled<S>>where
S::BucketKeyEnabled: IsUnset,
pub fn bucket_key_enabled(
self,
value: impl Into<Output<Option<bool>>>,
) -> ObjectCopyArgsBuilder<SetBucketKeyEnabled<S>>where
S::BucketKeyEnabled: IsUnset,
sourcepub fn maybe_bucket_key_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ObjectCopyArgsBuilder<SetBucketKeyEnabled<S>>where
S::BucketKeyEnabled: IsUnset,
pub fn maybe_bucket_key_enabled(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ObjectCopyArgsBuilder<SetBucketKeyEnabled<S>>where
S::BucketKeyEnabled: IsUnset,
sourcepub fn cache_control(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
pub fn cache_control(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies 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>>>>,
) -> ObjectCopyArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
pub fn maybe_cache_control(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCacheControl<S>>where
S::CacheControl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies caching behavior along the request/reply chain Read w3c cache_control for further details.
sourcepub fn checksum_algorithm(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetChecksumAlgorithm<S>>where
S::ChecksumAlgorithm: IsUnset,
pub fn checksum_algorithm(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetChecksumAlgorithm<S>>where
S::ChecksumAlgorithm: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the kms:Decrypt
action. Valid values: CRC32
, CRC32C
, SHA1
, SHA256
.
sourcepub fn maybe_checksum_algorithm(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetChecksumAlgorithm<S>>where
S::ChecksumAlgorithm: IsUnset,
pub fn maybe_checksum_algorithm(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetChecksumAlgorithm<S>>where
S::ChecksumAlgorithm: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Indicates the algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the kms:Decrypt
action. Valid values: CRC32
, CRC32C
, SHA1
, SHA256
.
sourcepub fn content_disposition(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetContentDisposition<S>>where
S::ContentDisposition: IsUnset,
pub fn content_disposition(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetContentDisposition<S>>where
S::ContentDisposition: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies 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>>>>,
) -> ObjectCopyArgsBuilder<SetContentDisposition<S>>where
S::ContentDisposition: IsUnset,
pub fn maybe_content_disposition(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetContentDisposition<S>>where
S::ContentDisposition: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies presentational information for the object. Read w3c content_disposition for further information.
sourcepub fn content_encoding(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetContentEncoding<S>>where
S::ContentEncoding: IsUnset,
pub fn content_encoding(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetContentEncoding<S>>where
S::ContentEncoding: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies what content encodings 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>>>>,
) -> ObjectCopyArgsBuilder<SetContentEncoding<S>>where
S::ContentEncoding: IsUnset,
pub fn maybe_content_encoding(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetContentEncoding<S>>where
S::ContentEncoding: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies what content encodings 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>>>,
) -> ObjectCopyArgsBuilder<SetContentLanguage<S>>where
S::ContentLanguage: IsUnset,
pub fn content_language(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetContentLanguage<S>>where
S::ContentLanguage: IsUnset,
sourcepub fn maybe_content_language(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetContentLanguage<S>>where
S::ContentLanguage: IsUnset,
pub fn maybe_content_language(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetContentLanguage<S>>where
S::ContentLanguage: IsUnset,
sourcepub fn content_type(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
pub fn content_type(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
sourcepub fn maybe_content_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
pub fn maybe_content_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetContentType<S>>where
S::ContentType: IsUnset,
sourcepub fn copy_if_match(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfMatch<S>>where
S::CopyIfMatch: IsUnset,
pub fn copy_if_match(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfMatch<S>>where
S::CopyIfMatch: IsUnset,
sourcepub fn maybe_copy_if_match(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfMatch<S>>where
S::CopyIfMatch: IsUnset,
pub fn maybe_copy_if_match(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfMatch<S>>where
S::CopyIfMatch: IsUnset,
sourcepub fn copy_if_modified_since(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfModifiedSince<S>>where
S::CopyIfModifiedSince: IsUnset,
pub fn copy_if_modified_since(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfModifiedSince<S>>where
S::CopyIfModifiedSince: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Copies the object if it has been modified since the specified time, in RFC3339 format.
sourcepub fn maybe_copy_if_modified_since(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfModifiedSince<S>>where
S::CopyIfModifiedSince: IsUnset,
pub fn maybe_copy_if_modified_since(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfModifiedSince<S>>where
S::CopyIfModifiedSince: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Copies the object if it has been modified since the specified time, in RFC3339 format.
sourcepub fn copy_if_none_match(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfNoneMatch<S>>where
S::CopyIfNoneMatch: IsUnset,
pub fn copy_if_none_match(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfNoneMatch<S>>where
S::CopyIfNoneMatch: IsUnset,
sourcepub fn maybe_copy_if_none_match(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfNoneMatch<S>>where
S::CopyIfNoneMatch: IsUnset,
pub fn maybe_copy_if_none_match(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfNoneMatch<S>>where
S::CopyIfNoneMatch: IsUnset,
sourcepub fn copy_if_unmodified_since(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfUnmodifiedSince<S>>where
S::CopyIfUnmodifiedSince: IsUnset,
pub fn copy_if_unmodified_since(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfUnmodifiedSince<S>>where
S::CopyIfUnmodifiedSince: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Copies the object if it hasn’t been modified since the specified time, in RFC3339 format.
sourcepub fn maybe_copy_if_unmodified_since(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfUnmodifiedSince<S>>where
S::CopyIfUnmodifiedSince: IsUnset,
pub fn maybe_copy_if_unmodified_since(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCopyIfUnmodifiedSince<S>>where
S::CopyIfUnmodifiedSince: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Copies the object if it hasn’t been modified since the specified time, in RFC3339 format.
sourcepub fn customer_algorithm(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCustomerAlgorithm<S>>where
S::CustomerAlgorithm: IsUnset,
pub fn customer_algorithm(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCustomerAlgorithm<S>>where
S::CustomerAlgorithm: IsUnset,
sourcepub fn maybe_customer_algorithm(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCustomerAlgorithm<S>>where
S::CustomerAlgorithm: IsUnset,
pub fn maybe_customer_algorithm(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCustomerAlgorithm<S>>where
S::CustomerAlgorithm: IsUnset,
sourcepub fn customer_key(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCustomerKey<S>>where
S::CustomerKey: IsUnset,
pub fn customer_key(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCustomerKey<S>>where
S::CustomerKey: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header.
sourcepub fn maybe_customer_key(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCustomerKey<S>>where
S::CustomerKey: IsUnset,
pub fn maybe_customer_key(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCustomerKey<S>>where
S::CustomerKey: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header.
sourcepub fn customer_key_md5(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCustomerKeyMd5<S>>where
S::CustomerKeyMd5: IsUnset,
pub fn customer_key_md5(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetCustomerKeyMd5<S>>where
S::CustomerKeyMd5: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
sourcepub fn maybe_customer_key_md5(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCustomerKeyMd5<S>>where
S::CustomerKeyMd5: IsUnset,
pub fn maybe_customer_key_md5(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetCustomerKeyMd5<S>>where
S::CustomerKeyMd5: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
sourcepub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn expected_source_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetExpectedSourceBucketOwner<S>>where
S::ExpectedSourceBucketOwner: IsUnset,
pub fn expected_source_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetExpectedSourceBucketOwner<S>>where
S::ExpectedSourceBucketOwner: IsUnset,
sourcepub fn maybe_expected_source_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetExpectedSourceBucketOwner<S>>where
S::ExpectedSourceBucketOwner: IsUnset,
pub fn maybe_expected_source_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetExpectedSourceBucketOwner<S>>where
S::ExpectedSourceBucketOwner: IsUnset,
sourcepub fn expires(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetExpires<S>>where
S::Expires: IsUnset,
pub fn expires(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetExpires<S>>where
S::Expires: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Date and time at which the object is no longer cacheable, in RFC3339 format.
sourcepub fn maybe_expires(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetExpires<S>>where
S::Expires: IsUnset,
pub fn maybe_expires(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetExpires<S>>where
S::Expires: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Date and time at which the object is no longer cacheable, in RFC3339 format.
sourcepub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> ObjectCopyArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> ObjectCopyArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
sourcepub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ObjectCopyArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> ObjectCopyArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
sourcepub fn grants(
self,
value: impl Into<Output<Option<Vec<ObjectCopyGrant>>>>,
) -> ObjectCopyArgsBuilder<SetGrants<S>>where
S::Grants: IsUnset,
pub fn grants(
self,
value: impl Into<Output<Option<Vec<ObjectCopyGrant>>>>,
) -> ObjectCopyArgsBuilder<SetGrants<S>>where
S::Grants: IsUnset,
sourcepub fn maybe_grants(
self,
value: Option<impl Into<Output<Option<Vec<ObjectCopyGrant>>>>>,
) -> ObjectCopyArgsBuilder<SetGrants<S>>where
S::Grants: IsUnset,
pub fn maybe_grants(
self,
value: Option<impl Into<Output<Option<Vec<ObjectCopyGrant>>>>>,
) -> ObjectCopyArgsBuilder<SetGrants<S>>where
S::Grants: IsUnset,
sourcepub fn key(
self,
value: impl Into<Output<String>>,
) -> ObjectCopyArgsBuilder<SetKey<S>>where
S::Key: IsUnset,
pub fn key(
self,
value: impl Into<Output<String>>,
) -> ObjectCopyArgsBuilder<SetKey<S>>where
S::Key: IsUnset,
Required.
Name of the object once it is in the bucket.
sourcepub fn kms_encryption_context(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetKmsEncryptionContext<S>>where
S::KmsEncryptionContext: IsUnset,
pub fn kms_encryption_context(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetKmsEncryptionContext<S>>where
S::KmsEncryptionContext: IsUnset,
sourcepub fn maybe_kms_encryption_context(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetKmsEncryptionContext<S>>where
S::KmsEncryptionContext: IsUnset,
pub fn maybe_kms_encryption_context(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetKmsEncryptionContext<S>>where
S::KmsEncryptionContext: IsUnset,
sourcepub fn kms_key_id(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
pub fn kms_key_id(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the AWS KMS Key ARN to use for object encryption. This value is a fully qualified ARN of the KMS Key. If using aws.kms.Key
, use the exported arn
attribute: kms_key_id = aws_kms_key.foo.arn
sourcepub fn maybe_kms_key_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
pub fn maybe_kms_key_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetKmsKeyId<S>>where
S::KmsKeyId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the AWS KMS Key ARN to use for object encryption. This value is a fully qualified ARN of the KMS Key. If using aws.kms.Key
, use the exported arn
attribute: kms_key_id = aws_kms_key.foo.arn
sourcepub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> ObjectCopyArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> ObjectCopyArgsBuilder<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>>>>>,
) -> ObjectCopyArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> ObjectCopyArgsBuilder<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 metadata_directive(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetMetadataDirective<S>>where
S::MetadataDirective: IsUnset,
pub fn metadata_directive(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetMetadataDirective<S>>where
S::MetadataDirective: IsUnset,
sourcepub fn maybe_metadata_directive(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetMetadataDirective<S>>where
S::MetadataDirective: IsUnset,
pub fn maybe_metadata_directive(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetMetadataDirective<S>>where
S::MetadataDirective: IsUnset,
sourcepub fn object_lock_legal_hold_status(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetObjectLockLegalHoldStatus<S>>where
S::ObjectLockLegalHoldStatus: IsUnset,
pub fn object_lock_legal_hold_status(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetObjectLockLegalHoldStatus<S>>where
S::ObjectLockLegalHoldStatus: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The 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>>>>,
) -> ObjectCopyArgsBuilder<SetObjectLockLegalHoldStatus<S>>where
S::ObjectLockLegalHoldStatus: IsUnset,
pub fn maybe_object_lock_legal_hold_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetObjectLockLegalHoldStatus<S>>where
S::ObjectLockLegalHoldStatus: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The 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>>>,
) -> ObjectCopyArgsBuilder<SetObjectLockMode<S>>where
S::ObjectLockMode: IsUnset,
pub fn object_lock_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<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>>>>,
) -> ObjectCopyArgsBuilder<SetObjectLockMode<S>>where
S::ObjectLockMode: IsUnset,
pub fn maybe_object_lock_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<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>>>,
) -> ObjectCopyArgsBuilder<SetObjectLockRetainUntilDate<S>>where
S::ObjectLockRetainUntilDate: IsUnset,
pub fn object_lock_retain_until_date(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<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>>>>,
) -> ObjectCopyArgsBuilder<SetObjectLockRetainUntilDate<S>>where
S::ObjectLockRetainUntilDate: IsUnset,
pub fn maybe_object_lock_retain_until_date(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<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 request_payer(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetRequestPayer<S>>where
S::RequestPayer: IsUnset,
pub fn request_payer(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetRequestPayer<S>>where
S::RequestPayer: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. For information about downloading objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the Amazon S3 Developer Guide. If included, the only valid value is requester
.
sourcepub fn maybe_request_payer(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetRequestPayer<S>>where
S::RequestPayer: IsUnset,
pub fn maybe_request_payer(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetRequestPayer<S>>where
S::RequestPayer: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. For information about downloading objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the Amazon S3 Developer Guide. If included, the only valid value is requester
.
sourcepub fn server_side_encryption(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetServerSideEncryption<S>>where
S::ServerSideEncryption: IsUnset,
pub fn server_side_encryption(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetServerSideEncryption<S>>where
S::ServerSideEncryption: IsUnset,
sourcepub fn maybe_server_side_encryption(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetServerSideEncryption<S>>where
S::ServerSideEncryption: IsUnset,
pub fn maybe_server_side_encryption(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetServerSideEncryption<S>>where
S::ServerSideEncryption: IsUnset,
sourcepub fn source(
self,
value: impl Into<Output<String>>,
) -> ObjectCopyArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
pub fn source(
self,
value: impl Into<Output<String>>,
) -> ObjectCopyArgsBuilder<SetSource<S>>where
S::Source: IsUnset,
Required.
Specifies the source object for the copy operation. You specify the value in one of two formats. For objects not accessed through an access point, specify the name of the source bucket and the key of the source object, separated by a slash (/
). For example, testbucket/test1.json
. For objects accessed through access points, specify the ARN of the object as accessed through the access point, in the format arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key>
. For example, arn:aws:s3:us-west-2:9999912999:accesspoint/my-access-point/object/testbucket/test1.json
.
The following arguments are optional:
sourcepub fn source_customer_algorithm(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerAlgorithm<S>>where
S::SourceCustomerAlgorithm: IsUnset,
pub fn source_customer_algorithm(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerAlgorithm<S>>where
S::SourceCustomerAlgorithm: IsUnset,
sourcepub fn maybe_source_customer_algorithm(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerAlgorithm<S>>where
S::SourceCustomerAlgorithm: IsUnset,
pub fn maybe_source_customer_algorithm(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerAlgorithm<S>>where
S::SourceCustomerAlgorithm: IsUnset,
sourcepub fn source_customer_key(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerKey<S>>where
S::SourceCustomerKey: IsUnset,
pub fn source_customer_key(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerKey<S>>where
S::SourceCustomerKey: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.
sourcepub fn maybe_source_customer_key(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerKey<S>>where
S::SourceCustomerKey: IsUnset,
pub fn maybe_source_customer_key(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerKey<S>>where
S::SourceCustomerKey: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.
sourcepub fn source_customer_key_md5(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerKeyMd5<S>>where
S::SourceCustomerKeyMd5: IsUnset,
pub fn source_customer_key_md5(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerKeyMd5<S>>where
S::SourceCustomerKeyMd5: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
sourcepub fn maybe_source_customer_key_md5(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerKeyMd5<S>>where
S::SourceCustomerKeyMd5: IsUnset,
pub fn maybe_source_customer_key_md5(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetSourceCustomerKeyMd5<S>>where
S::SourceCustomerKeyMd5: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
sourcepub fn storage_class(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
pub fn storage_class(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the desired storage class for the object. Defaults to STANDARD
.
sourcepub fn maybe_storage_class(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
pub fn maybe_storage_class(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the desired storage class for the object. Defaults to STANDARD
.
sourcepub fn tagging_directive(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetTaggingDirective<S>>where
S::TaggingDirective: IsUnset,
pub fn tagging_directive(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetTaggingDirective<S>>where
S::TaggingDirective: IsUnset,
sourcepub fn maybe_tagging_directive(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetTaggingDirective<S>>where
S::TaggingDirective: IsUnset,
pub fn maybe_tagging_directive(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetTaggingDirective<S>>where
S::TaggingDirective: IsUnset,
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>>>,
) -> ObjectCopyArgsBuilder<SetWebsiteRedirect<S>>where
S::WebsiteRedirect: IsUnset,
pub fn website_redirect(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectCopyArgsBuilder<SetWebsiteRedirect<S>>where
S::WebsiteRedirect: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies a target URL for website redirect.
sourcepub fn maybe_website_redirect(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetWebsiteRedirect<S>>where
S::WebsiteRedirect: IsUnset,
pub fn maybe_website_redirect(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectCopyArgsBuilder<SetWebsiteRedirect<S>>where
S::WebsiteRedirect: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies a target URL for website redirect.