aws_dlm_lifecycle_policy

Nivis Nix constructor for the aws_dlm_lifecycle_policy 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,
  description,
  execution_role_arn,
  default_policy ? null,
  id ? null,
  region ? null,
  state ? null,
  tags ? null,
  tags_all ? null,
  policy_details ? null,
  overrides ? {}
}
Required arguments
  • description
  • execution_role_arn
Optional arguments
  • default_policy (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • state (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • policy_details (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
Example
aws_dlm_lifecycle_policy {
  name = "dlm_lifecycle_policy";
  description = …;  # required
  execution_role_arn = …;  # required
}

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