aws_s3_object_copyNivis Nix constructor for the aws_s3_object_copy resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
bucket,
key,
source,
acl ? null,
bucket_key_enabled ? null,
cache_control ? null,
checksum_algorithm ? null,
content_disposition ? null,
content_encoding ? null,
content_language ? null,
content_type ? null,
copy_if_match ? null,
copy_if_modified_since ? null,
copy_if_none_match ? null,
copy_if_unmodified_since ? null,
customer_algorithm ? null,
customer_key ? null,
customer_key_md5 ? null,
expected_bucket_owner ? null,
expected_source_bucket_owner ? null,
expires ? null,
force_destroy ? null,
id ? null,
kms_encryption_context ? null,
kms_key_id ? null,
metadata ? null,
metadata_directive ? null,
object_lock_event_hold ? null,
object_lock_event_hold_duration_days ? null,
object_lock_event_hold_duration_years ? null,
object_lock_legal_hold_status ? null,
object_lock_mode ? null,
object_lock_retain_until_date ? null,
region ? null,
request_payer ? null,
server_side_encryption ? null,
source_customer_algorithm ? null,
source_customer_key ? null,
source_customer_key_md5 ? null,
storage_class ? null,
tagging_directive ? null,
tags ? null,
tags_all ? null,
website_redirect ? null,
grant ? null,
override_provider ? null,
overrides ? {}
}Required arguments
bucketkeysource
Optional arguments
acl(defaults tonull)bucket_key_enabled(defaults tonull)cache_control(defaults tonull)checksum_algorithm(defaults tonull)content_disposition(defaults tonull)content_encoding(defaults tonull)content_language(defaults tonull)content_type(defaults tonull)copy_if_match(defaults tonull)copy_if_modified_since(defaults tonull)copy_if_none_match(defaults tonull)copy_if_unmodified_since(defaults tonull)customer_algorithm(defaults tonull)customer_key(defaults tonull)customer_key_md5(defaults tonull)expected_bucket_owner(defaults tonull)expected_source_bucket_owner(defaults tonull)expires(defaults tonull)force_destroy(defaults tonull)id(defaults tonull)kms_encryption_context(defaults tonull)kms_key_id(defaults tonull)metadata(defaults tonull)metadata_directive(defaults tonull)object_lock_event_hold(defaults tonull)object_lock_event_hold_duration_days(defaults tonull)object_lock_event_hold_duration_years(defaults tonull)object_lock_legal_hold_status(defaults tonull)object_lock_mode(defaults tonull)object_lock_retain_until_date(defaults tonull)region(defaults tonull)request_payer(defaults tonull)server_side_encryption(defaults tonull)source_customer_algorithm(defaults tonull)source_customer_key(defaults tonull)source_customer_key_md5(defaults tonull)storage_class(defaults tonull)tagging_directive(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)website_redirect(defaults tonull)grant(defaults tonull)override_provider(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnchecksum_crc32checksum_crc32cchecksum_crc64nvmechecksum_sha1checksum_sha256etagexpirationlast_modifiedrequest_chargedsource_version_idversion_id
Example
aws_s3_object_copy {
name = "s3_object_copy";
bucket = …; # required
key = …; # required
source = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.