aws_db_cluster_snapshot

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

Read these from the resource's refAttr:

  • allocated_storage
  • availability_zones
  • db_cluster_snapshot_arn
  • engine
  • engine_version
  • kms_key_id
  • license_model
  • port
  • snapshot_type
  • source_db_cluster_snapshot_arn
  • status
  • storage_encrypted
  • vpc_id
Example
aws_db_cluster_snapshot {
  name = "db_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.