aws_vpn_connection

Nivis Nix constructor for the aws_vpn_connection 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,
  customer_gateway_id,
  type,
  enable_acceleration ? null,
  id ? null,
  local_ipv4_network_cidr ? null,
  local_ipv6_network_cidr ? null,
  outside_ip_address_type ? null,
  preshared_key_storage ? null,
  region ? null,
  remote_ipv4_network_cidr ? null,
  remote_ipv6_network_cidr ? null,
  static_routes_only ? null,
  tags ? null,
  tags_all ? null,
  transit_gateway_id ? null,
  transport_transit_gateway_attachment_id ? null,
  tunnel1_dpd_timeout_action ? null,
  tunnel1_dpd_timeout_seconds ? null,
  tunnel1_enable_tunnel_lifecycle_control ? null,
  tunnel1_ike_versions ? null,
  tunnel1_inside_cidr ? null,
  tunnel1_inside_ipv6_cidr ? null,
  tunnel1_phase1_dh_group_numbers ? null,
  tunnel1_phase1_encryption_algorithms ? null,
  tunnel1_phase1_integrity_algorithms ? null,
  tunnel1_phase1_lifetime_seconds ? null,
  tunnel1_phase2_dh_group_numbers ? null,
  tunnel1_phase2_encryption_algorithms ? null,
  tunnel1_phase2_integrity_algorithms ? null,
  tunnel1_phase2_lifetime_seconds ? null,
  tunnel1_preshared_key ? null,
  tunnel1_rekey_fuzz_percentage ? null,
  tunnel1_rekey_margin_time_seconds ? null,
  tunnel1_replay_window_size ? null,
  tunnel1_startup_action ? null,
  tunnel2_dpd_timeout_action ? null,
  tunnel2_dpd_timeout_seconds ? null,
  tunnel2_enable_tunnel_lifecycle_control ? null,
  tunnel2_ike_versions ? null,
  tunnel2_inside_cidr ? null,
  tunnel2_inside_ipv6_cidr ? null,
  tunnel2_phase1_dh_group_numbers ? null,
  tunnel2_phase1_encryption_algorithms ? null,
  tunnel2_phase1_integrity_algorithms ? null,
  tunnel2_phase1_lifetime_seconds ? null,
  tunnel2_phase2_dh_group_numbers ? null,
  tunnel2_phase2_encryption_algorithms ? null,
  tunnel2_phase2_integrity_algorithms ? null,
  tunnel2_phase2_lifetime_seconds ? null,
  tunnel2_preshared_key ? null,
  tunnel2_rekey_fuzz_percentage ? null,
  tunnel2_rekey_margin_time_seconds ? null,
  tunnel2_replay_window_size ? null,
  tunnel2_startup_action ? null,
  tunnel_bandwidth ? null,
  tunnel_inside_ip_version ? null,
  vpn_concentrator_id ? null,
  vpn_gateway_id ? null,
  tunnel1_log_options ? null,
  tunnel2_log_options ? null,
  overrides ? {}
}
Required arguments
  • customer_gateway_id
  • type
Optional arguments
  • enable_acceleration (defaults to null)
  • id (defaults to null)
  • local_ipv4_network_cidr (defaults to null)
  • local_ipv6_network_cidr (defaults to null)
  • outside_ip_address_type (defaults to null)
  • preshared_key_storage (defaults to null)
  • region (defaults to null)
  • remote_ipv4_network_cidr (defaults to null)
  • remote_ipv6_network_cidr (defaults to null)
  • static_routes_only (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • transit_gateway_id (defaults to null)
  • transport_transit_gateway_attachment_id (defaults to null)
  • tunnel1_dpd_timeout_action (defaults to null)
  • tunnel1_dpd_timeout_seconds (defaults to null)
  • tunnel1_enable_tunnel_lifecycle_control (defaults to null)
  • tunnel1_ike_versions (defaults to null)
  • tunnel1_inside_cidr (defaults to null)
  • tunnel1_inside_ipv6_cidr (defaults to null)
  • tunnel1_phase1_dh_group_numbers (defaults to null)
  • tunnel1_phase1_encryption_algorithms (defaults to null)
  • tunnel1_phase1_integrity_algorithms (defaults to null)
  • tunnel1_phase1_lifetime_seconds (defaults to null)
  • tunnel1_phase2_dh_group_numbers (defaults to null)
  • tunnel1_phase2_encryption_algorithms (defaults to null)
  • tunnel1_phase2_integrity_algorithms (defaults to null)
  • tunnel1_phase2_lifetime_seconds (defaults to null)
  • tunnel1_preshared_key (defaults to null)
  • tunnel1_rekey_fuzz_percentage (defaults to null)
  • tunnel1_rekey_margin_time_seconds (defaults to null)
  • tunnel1_replay_window_size (defaults to null)
  • tunnel1_startup_action (defaults to null)
  • tunnel2_dpd_timeout_action (defaults to null)
  • tunnel2_dpd_timeout_seconds (defaults to null)
  • tunnel2_enable_tunnel_lifecycle_control (defaults to null)
  • tunnel2_ike_versions (defaults to null)
  • tunnel2_inside_cidr (defaults to null)
  • tunnel2_inside_ipv6_cidr (defaults to null)
  • tunnel2_phase1_dh_group_numbers (defaults to null)
  • tunnel2_phase1_encryption_algorithms (defaults to null)
  • tunnel2_phase1_integrity_algorithms (defaults to null)
  • tunnel2_phase1_lifetime_seconds (defaults to null)
  • tunnel2_phase2_dh_group_numbers (defaults to null)
  • tunnel2_phase2_encryption_algorithms (defaults to null)
  • tunnel2_phase2_integrity_algorithms (defaults to null)
  • tunnel2_phase2_lifetime_seconds (defaults to null)
  • tunnel2_preshared_key (defaults to null)
  • tunnel2_rekey_fuzz_percentage (defaults to null)
  • tunnel2_rekey_margin_time_seconds (defaults to null)
  • tunnel2_replay_window_size (defaults to null)
  • tunnel2_startup_action (defaults to null)
  • tunnel_bandwidth (defaults to null)
  • tunnel_inside_ip_version (defaults to null)
  • vpn_concentrator_id (defaults to null)
  • vpn_gateway_id (defaults to null)
  • tunnel1_log_options (defaults to null)
  • tunnel2_log_options (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • core_network_arn
  • core_network_attachment_arn
  • customer_gateway_configuration
  • preshared_key_arn
  • routes
  • transit_gateway_attachment_id
  • tunnel1_address
  • tunnel1_bgp_asn
  • tunnel1_bgp_holdtime
  • tunnel1_cgw_inside_address
  • tunnel1_vgw_inside_address
  • tunnel2_address
  • tunnel2_bgp_asn
  • tunnel2_bgp_holdtime
  • tunnel2_cgw_inside_address
  • tunnel2_vgw_inside_address
  • vgw_telemetry
Example
aws_vpn_connection {
  name = "vpn_connection";
  customer_gateway_id = …;  # required
  type = …;  # required
}

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