aviatrix_firewall_policyNivis Nix constructor for the aviatrix_firewall_policy resource (provider aviatrix). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
action,
dst_ip,
gw_name,
port,
src_ip,
description ? null,
id ? null,
log_enabled ? null,
position ? null,
protocol ? null,
overrides ? {}
}Required arguments
actiondst_ipgw_nameportsrc_ip
Optional arguments
description(defaults tonull)id(defaults tonull)log_enabled(defaults tonull)position(defaults tonull)protocol(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aviatrix_firewall_policy {
name = "firewall_policy";
action = …; # required
dst_ip = …; # required
gw_name = …; # required
port = …; # required
src_ip = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.