alicloud_oss_bucket_object

Nivis 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
  • bucket
  • key
Optional arguments
  • acl (defaults to null)
  • cache_control (defaults to null)
  • content (defaults to null)
  • content_disposition (defaults to null)
  • content_encoding (defaults to null)
  • content_md5 (defaults to null)
  • content_type (defaults to null)
  • expires (defaults to null)
  • id (defaults to null)
  • kms_key_id (defaults to null)
  • object_worm_mode (defaults to null)
  • object_worm_retain_until_date (defaults to null)
  • server_side_encryption (defaults to null)
  • source (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • content_length
  • etag
  • version_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.