@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-21T11:01:44.929Z") @Stability(value=Stable) public interface IVpnConnection extends software.amazon.jsii.JsiiSerializable, IResource
Modifier and Type | Interface and Description |
---|---|
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()
The ASN of the customer gateway.
|
String |
getCustomerGatewayId()
The id of the customer gateway.
|
String |
getCustomerGatewayIp()
The ip address of the customer gateway.
|
String |
getVpnId()
The id of the VPN connection.
|
Metric |
metric(String metricName)
Return the given named metric for this VPNConnection.
|
Metric |
metric(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.
|
getNode
@Stability(value=Stable) @NotNull Number getCustomerGatewayAsn()
@Stability(value=Stable) @NotNull String getCustomerGatewayId()
@Stability(value=Stable) @NotNull String getCustomerGatewayIp()
@Stability(value=Stable) @NotNull String getVpnId()
@Stability(value=Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metricName
- This parameter is required.props
- @Stability(value=Stable) @NotNull Metric metric(@NotNull String metricName)
metricName
- This parameter is required.@Stability(value=Stable) @NotNull Metric metricTunnelDataIn(@Nullable MetricOptions props)
Sum over 5 minutes
props
- @Stability(value=Stable) @NotNull Metric metricTunnelDataIn()
Sum over 5 minutes
@Stability(value=Stable) @NotNull Metric metricTunnelDataOut(@Nullable MetricOptions props)
Sum over 5 minutes
props
- @Stability(value=Stable) @NotNull Metric metricTunnelDataOut()
Sum over 5 minutes
@Stability(value=Stable) @NotNull Metric metricTunnelState(@Nullable MetricOptions props)
Average over 5 minutes
props
- @Stability(value=Stable) @NotNull Metric metricTunnelState()
Average over 5 minutes
Copyright © 2020. All rights reserved.