Class VpnConnectionBase
Base class for Vpn connections.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class VpnConnectionBase : Resource, IVpnConnection, IResource
Syntax (vb)
Public MustInherit Class VpnConnectionBase
Inherits Resource
Implements IVpnConnection, IResource
Synopsis
Constructors
VpnConnectionBase(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
VpnConnectionBase(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
VpnConnectionBase(Construct, String, IResourceProps) |
Properties
CustomerGatewayAsn | The ASN of the customer gateway. |
CustomerGatewayId | The id of the customer gateway. |
CustomerGatewayIp | The ip address of the customer gateway. |
VpnId | The id of the VPN connection. |
Methods
Metric(String, IMetricOptions) | Return the given named metric for this VPNConnection. |
MetricTunnelDataIn(IMetricOptions) | The bytes received through the VPN tunnel. |
MetricTunnelDataOut(IMetricOptions) | The bytes sent through the VPN tunnel. |
MetricTunnelState(IMetricOptions) | The state of the tunnel. 0 indicates DOWN and 1 indicates UP. |
Constructors
VpnConnectionBase(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected VpnConnectionBase(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
VpnConnectionBase(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected VpnConnectionBase(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
VpnConnectionBase(Construct, String, IResourceProps)
protected VpnConnectionBase(Construct scope, string id, IResourceProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IResourceProps
Properties
CustomerGatewayAsn
The ASN of the customer gateway.
public abstract double CustomerGatewayAsn { get; }
Property Value
System.Double
CustomerGatewayId
The id of the customer gateway.
public abstract string CustomerGatewayId { get; }
Property Value
System.String
CustomerGatewayIp
The ip address of the customer gateway.
public abstract string CustomerGatewayIp { get; }
Property Value
System.String
VpnId
The id of the VPN connection.
public abstract string VpnId { get; }
Property Value
System.String
Methods
Metric(String, IMetricOptions)
Return the given named metric for this VPNConnection.
public virtual Metric Metric(string metricName, IMetricOptions props = null)
Parameters
- metricName System.String
- props IMetricOptions
Returns
MetricTunnelDataIn(IMetricOptions)
The bytes received through the VPN tunnel.
public virtual Metric MetricTunnelDataIn(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Sum over 5 minutes
MetricTunnelDataOut(IMetricOptions)
The bytes sent through the VPN tunnel.
public virtual Metric MetricTunnelDataOut(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Sum over 5 minutes
MetricTunnelState(IMetricOptions)
The state of the tunnel. 0 indicates DOWN and 1 indicates UP.
public virtual Metric MetricTunnelState(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Average over 5 minutes