aws_redshift_snapshot_copy

Nivis Nix constructor for the aws_redshift_snapshot_copy 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,
  cluster_identifier,
  destination_region,
  manual_snapshot_retention_period ? null,
  region ? null,
  retention_period ? null,
  snapshot_copy_grant_name ? null,
  overrides ? {}
}
Required arguments
  • cluster_identifier
  • destination_region
Optional arguments
  • manual_snapshot_retention_period (defaults to null)
  • region (defaults to null)
  • retention_period (defaults to null)
  • snapshot_copy_grant_name (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
Example
aws_redshift_snapshot_copy {
  name = "redshift_snapshot_copy";
  cluster_identifier = …;  # required
  destination_region = …;  # required
}

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