aws_docdb_cluster_snapshot

Nivis Nix constructor for the aws_docdb_cluster_snapshot 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,
  db_cluster_identifier,
  db_cluster_snapshot_identifier,
  id ? null,
  region ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • db_cluster_identifier
  • db_cluster_snapshot_identifier
Optional arguments
  • id (defaults to null)
  • region (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • availability_zones
  • db_cluster_snapshot_arn
  • engine
  • engine_version
  • kms_key_id
  • port
  • snapshot_type
  • source_db_cluster_snapshot_arn
  • status
  • storage_encrypted
  • vpc_id
Example
aws_docdb_cluster_snapshot {
  name = "docdb_cluster_snapshot";
  db_cluster_identifier = …;  # required
  db_cluster_snapshot_identifier = …;  # required
}

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