Interface IVpnConnection.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IResource, IResource.Jsii$Default, IVpnConnection, IVPNConnectionRef, IVPNConnectionRef.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IVpnConnection.Jsii$Proxy
Enclosing interface:
IVpnConnection

@Internal public static interface IVpnConnection.Jsii$Default extends IVpnConnection, IResource.Jsii$Default, IVPNConnectionRef.Jsii$Default
Internal default implementation for IVpnConnection.
  • Method Details

    • getCustomerGatewayAsn

      @Stability(Stable) @NotNull default Number getCustomerGatewayAsn()
      The ASN of the customer gateway.
      Specified by:
      getCustomerGatewayAsn in interface IVpnConnection
    • getCustomerGatewayId

      @Stability(Stable) @NotNull default String getCustomerGatewayId()
      The id of the customer gateway.
      Specified by:
      getCustomerGatewayId in interface IVpnConnection
    • getCustomerGatewayIp

      @Stability(Stable) @NotNull default String getCustomerGatewayIp()
      The ip address of the customer gateway.
      Specified by:
      getCustomerGatewayIp in interface IVpnConnection
    • getVpnId

      @Stability(Stable) @NotNull default String getVpnId()
      The id of the VPN connection.
      Specified by:
      getVpnId in interface IVpnConnection
    • metric

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

      Specified by:
      metric in interface IVpnConnection
      Parameters:
      metricName - This parameter is required.
      props -
    • metric

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

      Specified by:
      metric in interface IVpnConnection
      Parameters:
      metricName - This parameter is required.
    • metricTunnelDataIn

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

      Sum over 5 minutes

      Specified by:
      metricTunnelDataIn in interface IVpnConnection
      Parameters:
      props -
    • metricTunnelDataIn

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

      Sum over 5 minutes

      Specified by:
      metricTunnelDataIn in interface IVpnConnection
    • metricTunnelDataOut

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

      Sum over 5 minutes

      Specified by:
      metricTunnelDataOut in interface IVpnConnection
      Parameters:
      props -
    • metricTunnelDataOut

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

      Sum over 5 minutes

      Specified by:
      metricTunnelDataOut in interface IVpnConnection
    • metricTunnelState

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

      Average over 5 minutes

      Specified by:
      metricTunnelState in interface IVpnConnection
      Parameters:
      props -
    • metricTunnelState

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

      Average over 5 minutes

      Specified by:
      metricTunnelState in interface IVpnConnection