@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.076Z") @Stability(value=Experimental) public interface IVpnConnection extends software.amazon.jsii.JsiiSerializable, 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 |
|---|---|
Number |
getCustomerGatewayAsn()
(experimental) The ASN of the customer gateway.
|
String |
getCustomerGatewayId()
(experimental) The id of the customer gateway.
|
String |
getCustomerGatewayIp()
(experimental) The ip address of the customer gateway.
|
String |
getVpnId()
(experimental) The id of the VPN connection.
|
Metric |
metric(String metricName)
(experimental) Return the given named metric for this VPNConnection.
|
Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this VPNConnection.
|
Metric |
metricTunnelDataIn()
(experimental) The bytes received through the VPN tunnel.
|
Metric |
metricTunnelDataIn(MetricOptions props)
(experimental) The bytes received through the VPN tunnel.
|
Metric |
metricTunnelDataOut()
(experimental) The bytes sent through the VPN tunnel.
|
Metric |
metricTunnelDataOut(MetricOptions props)
(experimental) The bytes sent through the VPN tunnel.
|
Metric |
metricTunnelState()
(experimental) The state of the tunnel.
|
Metric |
metricTunnelState(MetricOptions props)
(experimental) The state of the tunnel.
|
@Stability(value=Experimental) @NotNull Number getCustomerGatewayAsn()
@Stability(value=Experimental) @NotNull String getCustomerGatewayId()
@Stability(value=Experimental) @NotNull String getCustomerGatewayIp()
@Stability(value=Experimental) @NotNull String getVpnId()
@Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metricName - This parameter is required.props - @Stability(value=Experimental) @NotNull Metric metric(@NotNull String metricName)
metricName - This parameter is required.@Stability(value=Experimental) @NotNull Metric metricTunnelDataIn(@Nullable MetricOptions props)
Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricTunnelDataIn()
Sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricTunnelDataOut(@Nullable MetricOptions props)
Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricTunnelDataOut()
Sum over 5 minutes
@Stability(value=Experimental) @NotNull Metric metricTunnelState(@Nullable MetricOptions props)
Average over 5 minutes
props - @Stability(value=Experimental) @NotNull Metric metricTunnelState()
Average over 5 minutes
Copyright © 2021. All rights reserved.