Skip to main content

vpn_tunnel_replacement_status

Creates, updates, deletes, gets or lists a vpn_tunnel_replacement_status resource.

Overview

Namevpn_tunnel_replacement_status
TypeResource
Idaws.ec2.vpn_tunnel_replacement_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
customer_gateway_idstringThe ID of the customer gateway.
maintenance_detailsstringGet details of pending tunnel endpoint maintenance.
transit_gateway_idstringThe ID of the transit gateway associated with the VPN connection.
vpn_connection_idstringThe ID of the Site-to-Site VPN connection.
vpn_gateway_idstringThe ID of the virtual private gateway.
vpn_tunnel_outside_ip_addressstringThe external IP address of the VPN tunnel.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_vpn_tunnel_replacement_statusselectVpnConnectionId, VpnTunnelOutsideIpAddress, regionDryRunGet details of available tunnel endpoint maintenance.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
VpnConnectionIdstringThe ID of the Site-to-Site VPN connection.
VpnTunnelOutsideIpAddressstringThe external IP address of the VPN tunnel.
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

SELECT examples

Get details of available tunnel endpoint maintenance.

SELECT
customer_gateway_id,
maintenance_details,
transit_gateway_id,
vpn_connection_id,
vpn_gateway_id,
vpn_tunnel_outside_ip_address
FROM aws.ec2.vpn_tunnel_replacement_status
WHERE VpnConnectionId = '{{ VpnConnectionId }}' -- required
AND VpnTunnelOutsideIpAddress = '{{ VpnTunnelOutsideIpAddress }}' -- required
AND region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
;