Show / Hide Table of Contents

Interface IVpnConnection

Inherited Members
IResource.ApplyRemovalPolicy(RemovalPolicy)
IResource.Stack
IVPNConnectionRef.VpnConnectionRef
IEnvironmentAware.Env
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVpnConnection : IResource, IVPNConnectionRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface IVpnConnection Inherits IResource, IVPNConnectionRef, IConstruct, IDependable, IEnvironmentAware

Synopsis

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.

Properties

CustomerGatewayAsn

The ASN of the customer gateway.

double CustomerGatewayAsn { get; }
Property Value

double

CustomerGatewayId

The id of the customer gateway.

string CustomerGatewayId { get; }
Property Value

string

CustomerGatewayIp

The ip address of the customer gateway.

string CustomerGatewayIp { get; }
Property Value

string

VpnId

The id of the VPN connection.

string VpnId { get; }
Property Value

string

Remarks

Attribute: VpnConnectionId

Methods

Metric(string, IMetricOptions?)

Return the given named metric for this VPNConnection.

Metric Metric(string metricName, IMetricOptions? props = null)
Parameters
metricName string
props IMetricOptions
Returns

Metric

MetricTunnelDataIn(IMetricOptions?)

The bytes received through the VPN tunnel.

Metric MetricTunnelDataIn(IMetricOptions? props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Sum over 5 minutes

MetricTunnelDataOut(IMetricOptions?)

The bytes sent through the VPN tunnel.

Metric MetricTunnelDataOut(IMetricOptions? props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Sum over 5 minutes

MetricTunnelState(IMetricOptions?)

The state of the tunnel. 0 indicates DOWN and 1 indicates UP.

Metric MetricTunnelState(IMetricOptions? props = null)
Parameters
props IMetricOptions
Returns

Metric

Remarks

Average over 5 minutes

Back to top Generated by DocFX