aws_lb

Nivis Nix constructor for the aws_lb 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,
  client_keep_alive ? null,
  customer_owned_ipv4_pool ? null,
  desync_mitigation_mode ? null,
  dns_record_client_routing_policy ? null,
  drop_invalid_header_fields ? null,
  enable_cross_zone_load_balancing ? null,
  enable_deletion_protection ? null,
  enable_http2 ? null,
  enable_prefix_for_ipv6_source_nat ? null,
  enable_tls_version_and_cipher_suite_headers ? null,
  enable_waf_fail_open ? null,
  enable_xff_client_port ? null,
  enable_zonal_shift ? null,
  enforce_security_group_inbound_rules_on_private_link_traffic ? null,
  id ? null,
  idle_timeout ? null,
  internal ? null,
  ip_address_type ? null,
  load_balancer_type ? null,
  cfg_name ? null,
  name_prefix ? null,
  preserve_host_header ? null,
  region ? null,
  secondary_ips_auto_assigned_per_subnet ? null,
  security_groups ? null,
  subnets ? null,
  tags ? null,
  tags_all ? null,
  xff_header_processing_mode ? null,
  access_logs ? null,
  connection_logs ? null,
  health_check_logs ? null,
  ipam_pools ? null,
  minimum_load_balancer_capacity ? null,
  subnet_mapping ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • client_keep_alive (defaults to null)
  • customer_owned_ipv4_pool (defaults to null)
  • desync_mitigation_mode (defaults to null)
  • dns_record_client_routing_policy (defaults to null)
  • drop_invalid_header_fields (defaults to null)
  • enable_cross_zone_load_balancing (defaults to null)
  • enable_deletion_protection (defaults to null)
  • enable_http2 (defaults to null)
  • enable_prefix_for_ipv6_source_nat (defaults to null)
  • enable_tls_version_and_cipher_suite_headers (defaults to null)
  • enable_waf_fail_open (defaults to null)
  • enable_xff_client_port (defaults to null)
  • enable_zonal_shift (defaults to null)
  • enforce_security_group_inbound_rules_on_private_link_traffic (defaults to null)
  • id (defaults to null)
  • idle_timeout (defaults to null)
  • internal (defaults to null)
  • ip_address_type (defaults to null)
  • load_balancer_type (defaults to null)
  • cfg_name (defaults to null)
  • name_prefix (defaults to null)
  • preserve_host_header (defaults to null)
  • region (defaults to null)
  • secondary_ips_auto_assigned_per_subnet (defaults to null)
  • security_groups (defaults to null)
  • subnets (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • xff_header_processing_mode (defaults to null)
  • access_logs (defaults to null)
  • connection_logs (defaults to null)
  • health_check_logs (defaults to null)
  • ipam_pools (defaults to null)
  • minimum_load_balancer_capacity (defaults to null)
  • subnet_mapping (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • arn_suffix
  • dns_name
  • vpc_id
  • zone_id
Example
aws_lb {
  name = "lb";
}

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