aws_kms_replica_key

Nivis Nix constructor for the aws_kms_replica_key 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,
  primary_key_arn,
  bypass_policy_lockout_safety_check ? null,
  deletion_window_in_days ? null,
  description ? null,
  enabled ? null,
  id ? null,
  policy ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments
  • primary_key_arn
Optional arguments
  • bypass_policy_lockout_safety_check (defaults to null)
  • deletion_window_in_days (defaults to null)
  • description (defaults to null)
  • enabled (defaults to null)
  • id (defaults to null)
  • policy (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • key_id
  • key_rotation_enabled
  • key_spec
  • key_usage
Example
aws_kms_replica_key {
  name = "kms_replica_key";
  primary_key_arn = …;  # required
}

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