aws_network_interface

Nivis Nix constructor for the aws_network_interface 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,
  subnet_id,
  description ? null,
  enable_primary_ipv6 ? null,
  id ? null,
  interface_type ? null,
  ipv4_prefix_count ? null,
  ipv4_prefixes ? null,
  ipv6_address_count ? null,
  ipv6_address_list ? null,
  ipv6_address_list_enabled ? null,
  ipv6_addresses ? null,
  ipv6_prefix_count ? null,
  ipv6_prefixes ? null,
  private_ip ? null,
  private_ip_list ? null,
  private_ip_list_enabled ? null,
  private_ips ? null,
  private_ips_count ? null,
  region ? null,
  security_groups ? null,
  source_dest_check ? null,
  tags ? null,
  tags_all ? null,
  attachment ? null,
  connection_tracking_specification ? null,
  ena_srd_specification ? null,
  overrides ? {}
}
Required arguments
  • subnet_id
Optional arguments
  • description (defaults to null)
  • enable_primary_ipv6 (defaults to null)
  • id (defaults to null)
  • interface_type (defaults to null)
  • ipv4_prefix_count (defaults to null)
  • ipv4_prefixes (defaults to null)
  • ipv6_address_count (defaults to null)
  • ipv6_address_list (defaults to null)
  • ipv6_address_list_enabled (defaults to null)
  • ipv6_addresses (defaults to null)
  • ipv6_prefix_count (defaults to null)
  • ipv6_prefixes (defaults to null)
  • private_ip (defaults to null)
  • private_ip_list (defaults to null)
  • private_ip_list_enabled (defaults to null)
  • private_ips (defaults to null)
  • private_ips_count (defaults to null)
  • region (defaults to null)
  • security_groups (defaults to null)
  • source_dest_check (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • attachment (defaults to null)
  • connection_tracking_specification (defaults to null)
  • ena_srd_specification (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • mac_address
  • outpost_arn
  • owner_id
  • private_dns_name
Example
aws_network_interface {
  name = "network_interface";
  subnet_id = …;  # required
}

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