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
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIVpnConnection
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe ASN of the customer gateway.The id of the customer gateway.The ip address of the customer gateway.getVpnId()
The id of the VPN connection.Return the given named metric for this VPNConnection.metric
(String metricName, MetricOptions props) Return the given named metric for this VPNConnection.The bytes received through the VPN tunnel.metricTunnelDataIn
(MetricOptions props) The bytes received through the VPN tunnel.The bytes sent through the VPN tunnel.metricTunnelDataOut
(MetricOptions props) The bytes sent through the VPN tunnel.The state of the tunnel.metricTunnelState
(MetricOptions props) The state of the tunnel.Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomerGatewayAsn
The ASN of the customer gateway. -
getCustomerGatewayId
The id of the customer gateway. -
getCustomerGatewayIp
The ip address of the customer gateway. -
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
Return the given named metric for this VPNConnection.- Parameters:
metricName
- This parameter is required.
-
metricTunnelDataIn
The bytes received through the VPN tunnel.Sum over 5 minutes
- Parameters:
props
-
-
metricTunnelDataIn
The bytes received through the VPN tunnel.Sum over 5 minutes
-
metricTunnelDataOut
The bytes sent through the VPN tunnel.Sum over 5 minutes
- Parameters:
props
-
-
metricTunnelDataOut
The bytes sent through the VPN tunnel.Sum over 5 minutes
-
metricTunnelState
The state of the tunnel. 0 indicates DOWN and 1 indicates UP.Average over 5 minutes
- Parameters:
props
-
-
metricTunnelState
The state of the tunnel. 0 indicates DOWN and 1 indicates UP.Average over 5 minutes
-