aws_network_acl_ruleNivis Nix constructor for the aws_network_acl_rule 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,
network_acl_id,
protocol,
rule_action,
rule_number,
cidr_block ? null,
egress ? null,
from_port ? null,
icmp_code ? null,
icmp_type ? null,
id ? null,
ipv6_cidr_block ? null,
region ? null,
to_port ? null,
overrides ? {}
}Required arguments
network_acl_idprotocolrule_actionrule_number
Optional arguments
cidr_block(defaults tonull)egress(defaults tonull)from_port(defaults tonull)icmp_code(defaults tonull)icmp_type(defaults tonull)id(defaults tonull)ipv6_cidr_block(defaults tonull)region(defaults tonull)to_port(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_network_acl_rule {
name = "network_acl_rule";
network_acl_id = …; # required
protocol = …; # required
rule_action = …; # required
rule_number = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.