@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:28.610Z") public interface IVpnConnection extends IResource
Modifier and Type | Interface and Description |
---|---|
static interface |
IVpnConnection.Jsii$Default
Internal default implementation for
IVpnConnection . |
static class |
IVpnConnection.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Number |
getCustomerGatewayAsn()
The ASN of the customer gateway.
|
java.lang.String |
getCustomerGatewayId()
The id of the customer gateway.
|
java.lang.String |
getCustomerGatewayIp()
The ip address of the customer gateway.
|
java.lang.String |
getVpnId()
The id of the VPN connection.
|
Metric |
metric(java.lang.String metricName)
Return the given named metric for this VPNConnection.
|
Metric |
metric(java.lang.String metricName,
MetricOptions props)
Return the given named metric for this VPNConnection.
|
Metric |
metricTunnelDataIn()
The bytes received through the VPN tunnel.
|
Metric |
metricTunnelDataIn(MetricOptions props)
The bytes received through the VPN tunnel.
|
Metric |
metricTunnelDataOut()
The bytes sent through the VPN tunnel.
|
Metric |
metricTunnelDataOut(MetricOptions props)
The bytes sent through the VPN tunnel.
|
Metric |
metricTunnelState()
The state of the tunnel.
|
Metric |
metricTunnelState(MetricOptions props)
The state of the tunnel.
|
applyRemovalPolicy, getEnv, getStack
getNode
java.lang.Number getCustomerGatewayAsn()
java.lang.String getCustomerGatewayId()
java.lang.String getCustomerGatewayIp()
java.lang.String getVpnId()
Metric metric(java.lang.String metricName, MetricOptions props)
metricName
- This parameter is required.props
- Metric metric(java.lang.String metricName)
metricName
- This parameter is required.Metric metricTunnelDataIn(MetricOptions props)
Sum over 5 minutes
props
- Metric metricTunnelDataIn()
Sum over 5 minutes
Metric metricTunnelDataOut(MetricOptions props)
Sum over 5 minutes
props
- Metric metricTunnelDataOut()
Sum over 5 minutes
Metric metricTunnelState(MetricOptions props)
Average over 5 minutes
props
- Metric metricTunnelState()
Average over 5 minutes