aws_vpn_connectionNivis 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_idtype
Optional arguments
enable_acceleration(defaults tonull)id(defaults tonull)local_ipv4_network_cidr(defaults tonull)local_ipv6_network_cidr(defaults tonull)outside_ip_address_type(defaults tonull)preshared_key_storage(defaults tonull)region(defaults tonull)remote_ipv4_network_cidr(defaults tonull)remote_ipv6_network_cidr(defaults tonull)static_routes_only(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)transit_gateway_id(defaults tonull)transport_transit_gateway_attachment_id(defaults tonull)tunnel1_dpd_timeout_action(defaults tonull)tunnel1_dpd_timeout_seconds(defaults tonull)tunnel1_enable_tunnel_lifecycle_control(defaults tonull)tunnel1_ike_versions(defaults tonull)tunnel1_inside_cidr(defaults tonull)tunnel1_inside_ipv6_cidr(defaults tonull)tunnel1_phase1_dh_group_numbers(defaults tonull)tunnel1_phase1_encryption_algorithms(defaults tonull)tunnel1_phase1_integrity_algorithms(defaults tonull)tunnel1_phase1_lifetime_seconds(defaults tonull)tunnel1_phase2_dh_group_numbers(defaults tonull)tunnel1_phase2_encryption_algorithms(defaults tonull)tunnel1_phase2_integrity_algorithms(defaults tonull)tunnel1_phase2_lifetime_seconds(defaults tonull)tunnel1_preshared_key(defaults tonull)tunnel1_rekey_fuzz_percentage(defaults tonull)tunnel1_rekey_margin_time_seconds(defaults tonull)tunnel1_replay_window_size(defaults tonull)tunnel1_startup_action(defaults tonull)tunnel2_dpd_timeout_action(defaults tonull)tunnel2_dpd_timeout_seconds(defaults tonull)tunnel2_enable_tunnel_lifecycle_control(defaults tonull)tunnel2_ike_versions(defaults tonull)tunnel2_inside_cidr(defaults tonull)tunnel2_inside_ipv6_cidr(defaults tonull)tunnel2_phase1_dh_group_numbers(defaults tonull)tunnel2_phase1_encryption_algorithms(defaults tonull)tunnel2_phase1_integrity_algorithms(defaults tonull)tunnel2_phase1_lifetime_seconds(defaults tonull)tunnel2_phase2_dh_group_numbers(defaults tonull)tunnel2_phase2_encryption_algorithms(defaults tonull)tunnel2_phase2_integrity_algorithms(defaults tonull)tunnel2_phase2_lifetime_seconds(defaults tonull)tunnel2_preshared_key(defaults tonull)tunnel2_rekey_fuzz_percentage(defaults tonull)tunnel2_rekey_margin_time_seconds(defaults tonull)tunnel2_replay_window_size(defaults tonull)tunnel2_startup_action(defaults tonull)tunnel_bandwidth(defaults tonull)tunnel_inside_ip_version(defaults tonull)vpn_concentrator_id(defaults tonull)vpn_gateway_id(defaults tonull)tunnel1_log_options(defaults tonull)tunnel2_log_options(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arncore_network_arncore_network_attachment_arncustomer_gateway_configurationpreshared_key_arnroutestransit_gateway_attachment_idtunnel1_addresstunnel1_bgp_asntunnel1_bgp_holdtimetunnel1_cgw_inside_addresstunnel1_vgw_inside_addresstunnel2_addresstunnel2_bgp_asntunnel2_bgp_holdtimetunnel2_cgw_inside_addresstunnel2_vgw_inside_addressvgw_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.