aws_s3_objectNivis Nix constructor for the aws_s3_object 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,
acl ? null,
bucket_key_enabled ? null,
cache_control ? null,
checksum_algorithm ? null,
content ? null,
content_base64 ? null,
content_disposition ? null,
content_encoding ? null,
content_language ? null,
content_type ? null,
etag ? null,
force_destroy ? null,
id ? null,
kms_key_id ? null,
metadata ? 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,
server_side_encryption ? null,
source ? null,
source_hash ? null,
storage_class ? null,
tags ? null,
tags_all ? null,
website_redirect ? null,
override_provider ? null,
overrides ? {}
}Required arguments
bucketkey
Optional arguments
acl(defaults tonull)bucket_key_enabled(defaults tonull)cache_control(defaults tonull)checksum_algorithm(defaults tonull)content(defaults tonull)content_base64(defaults tonull)content_disposition(defaults tonull)content_encoding(defaults tonull)content_language(defaults tonull)content_type(defaults tonull)etag(defaults tonull)force_destroy(defaults tonull)id(defaults tonull)kms_key_id(defaults tonull)metadata(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)server_side_encryption(defaults tonull)source(defaults tonull)source_hash(defaults tonull)storage_class(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)website_redirect(defaults tonull)override_provider(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnchecksum_crc32checksum_crc32cchecksum_crc64nvmechecksum_sha1checksum_sha256version_id
Example
aws_s3_object {
name = "s3_object";
bucket = …; # required
key = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.