alicloud_oss_bucket_objectNivis Nix constructor for the alicloud_oss_bucket_object resource (provider alicloud). 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,
cache_control ? null,
content ? null,
content_disposition ? null,
content_encoding ? null,
content_md5 ? null,
content_type ? null,
expires ? null,
id ? null,
kms_key_id ? null,
object_worm_mode ? null,
object_worm_retain_until_date ? null,
server_side_encryption ? null,
source ? null,
overrides ? {}
}Required arguments
bucketkey
Optional arguments
acl(defaults tonull)cache_control(defaults tonull)content(defaults tonull)content_disposition(defaults tonull)content_encoding(defaults tonull)content_md5(defaults tonull)content_type(defaults tonull)expires(defaults tonull)id(defaults tonull)kms_key_id(defaults tonull)object_worm_mode(defaults tonull)object_worm_retain_until_date(defaults tonull)server_side_encryption(defaults tonull)source(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
content_lengthetagversion_id
Example
alicloud_oss_bucket_object {
name = "oss_bucket_object";
bucket = …; # required
key = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.