Interface IVpnConnection

All Superinterfaces:
IConstruct, software.constructs.IConstruct, IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IVpnConnection.Jsii$Default
All Known Implementing Classes:
IVpnConnection.Jsii$Proxy, VpnConnection, VpnConnectionBase

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.362Z") @Stability(Stable) public interface IVpnConnection extends software.amazon.jsii.JsiiSerializable, IResource
  • Method Details

    • getCustomerGatewayAsn

      @Stability(Stable) @NotNull Number getCustomerGatewayAsn()
      The ASN of the customer gateway.
    • getCustomerGatewayId

      @Stability(Stable) @NotNull String getCustomerGatewayId()
      The id of the customer gateway.
    • getCustomerGatewayIp

      @Stability(Stable) @NotNull String getCustomerGatewayIp()
      The ip address of the customer gateway.
    • getVpnId

      @Stability(Stable) @NotNull String getVpnId()
      The id of the VPN connection.
    • metric

      @Stability(Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      Return the given named metric for this VPNConnection.

      Parameters:
      metricName - This parameter is required.
      props -
    • metric

      @Stability(Stable) @NotNull Metric metric(@NotNull String metricName)
      Return the given named metric for this VPNConnection.

      Parameters:
      metricName - This parameter is required.
    • metricTunnelDataIn

      @Stability(Stable) @NotNull Metric metricTunnelDataIn(@Nullable MetricOptions props)
      The bytes received through the VPN tunnel.

      Sum over 5 minutes

      Parameters:
      props -
    • metricTunnelDataIn

      @Stability(Stable) @NotNull Metric metricTunnelDataIn()
      The bytes received through the VPN tunnel.

      Sum over 5 minutes

    • metricTunnelDataOut

      @Stability(Stable) @NotNull Metric metricTunnelDataOut(@Nullable MetricOptions props)
      The bytes sent through the VPN tunnel.

      Sum over 5 minutes

      Parameters:
      props -
    • metricTunnelDataOut

      @Stability(Stable) @NotNull Metric metricTunnelDataOut()
      The bytes sent through the VPN tunnel.

      Sum over 5 minutes

    • metricTunnelState

      @Stability(Stable) @NotNull Metric metricTunnelState(@Nullable MetricOptions props)
      The state of the tunnel. 0 indicates DOWN and 1 indicates UP.

      Average over 5 minutes

      Parameters:
      props -
    • metricTunnelState

      @Stability(Stable) @NotNull Metric metricTunnelState()
      The state of the tunnel. 0 indicates DOWN and 1 indicates UP.

      Average over 5 minutes