google_compute_security_policy_rule

Nivis Nix constructor for the google_compute_security_policy_rule 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,
  priority,
  security_policy,
  deletion_policy ? null,
  description ? null,
  id ? null,
  preview ? null,
  project ? null,
  header_action ? null,
  match ? null,
  preconfigured_waf_config ? null,
  rate_limit_options ? null,
  redirect_options ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • action
  • priority
  • security_policy
Optional arguments
  • deletion_policy (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • preview (defaults to null)
  • project (defaults to null)
  • header_action (defaults to null)
  • match (defaults to null)
  • preconfigured_waf_config (defaults to null)
  • rate_limit_options (defaults to null)
  • redirect_options (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
google_compute_security_policy_rule {
  name = "compute_security_policy_rule";
  action = …;  # required
  priority = …;  # required
  security_policy = …;  # required
}

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