aws_network_acl_rule

Nivis 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_id
  • protocol
  • rule_action
  • rule_number
Optional arguments
  • cidr_block (defaults to null)
  • egress (defaults to null)
  • from_port (defaults to null)
  • icmp_code (defaults to null)
  • icmp_type (defaults to null)
  • id (defaults to null)
  • ipv6_cidr_block (defaults to null)
  • region (defaults to null)
  • to_port (defaults to null)
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.