aws_datasync_location_object_storage

Nivis Nix constructor for the aws_datasync_location_object_storage 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_name,
  server_hostname,
  access_key ? null,
  agent_arns ? null,
  id ? null,
  region ? null,
  secret_key ? null,
  server_certificate ? null,
  server_port ? null,
  server_protocol ? null,
  subdirectory ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments
  • bucket_name
  • server_hostname
Optional arguments
  • access_key (defaults to null)
  • agent_arns (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • secret_key (defaults to null)
  • server_certificate (defaults to null)
  • server_port (defaults to null)
  • server_protocol (defaults to null)
  • subdirectory (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • uri
Example
aws_datasync_location_object_storage {
  name = "datasync_location_object_storage";
  bucket_name = …;  # required
  server_hostname = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.