google_org_policy_custom_constraint

Nivis Nix constructor for the google_org_policy_custom_constraint resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  action_type,
  condition,
  method_types,
  parent,
  resource_types,
  deletion_policy ? null,
  description ? null,
  display_name ? null,
  id ? null,
  cfg_name ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • action_type
  • condition
  • method_types
  • parent
  • resource_types
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • display_name (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • update_time
Example
google_org_policy_custom_constraint {
  name = "org_policy_custom_constraint";
  action_type = …;  # required
  condition = …;  # required
  method_types = …;  # required
  parent = …;  # required
  resource_types = …;  # required
}

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