Class VpnConnectionBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.ec2.VpnConnectionBase
- All Implemented Interfaces:
- IConstruct,- IDependable,- IResource,- IVpnConnection,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
- Direct Known Subclasses:
- VpnConnection
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:39.591Z")
@Stability(Stable)
public abstract class VpnConnectionBase
extends Resource
implements IVpnConnection
Base class for Vpn connections.
- 
Nested Class SummaryNested classes/interfaces inherited from class software.constructs.Constructsoftware.constructs.Construct.BuilderNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResourceIResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVpnConnectionIVpnConnection.Jsii$Default
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedVpnConnectionBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedVpnConnectionBase(software.amazon.jsii.JsiiObjectRef objRef) protectedVpnConnectionBase(software.constructs.Construct scope, String id) protectedVpnConnectionBase(software.constructs.Construct scope, String id, ResourceProps props) 
- 
Method SummaryModifier and TypeMethodDescriptionabstract NumberThe ASN of the customer gateway.abstract StringThe id of the customer gateway.abstract StringThe ip address of the customer gateway.abstract StringgetVpnId()The id of the VPN connection.Return the given named metric for this VPNConnection.metric(String metricName, MetricOptions props) Return the given named metric for this VPNConnection.The bytes received through the VPN tunnel.metricTunnelDataIn(MetricOptions props) The bytes received through the VPN tunnel.The bytes sent through the VPN tunnel.metricTunnelDataOut(MetricOptions props) The bytes sent through the VPN tunnel.The state of the tunnel.metricTunnelState(MetricOptions props) The state of the tunnel.Methods inherited from class software.amazon.awscdk.core.ResourceapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourceMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.ConstructtoStringMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.core.IConstructgetNodeMethods inherited from interface software.amazon.awscdk.core.IResourceapplyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
VpnConnectionBaseprotected VpnConnectionBase(software.amazon.jsii.JsiiObjectRef objRef) 
- 
VpnConnectionBaseprotected VpnConnectionBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
VpnConnectionBase@Stability(Stable) protected VpnConnectionBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- props-
 
- 
VpnConnectionBase@Stability(Stable) protected VpnConnectionBase(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
 
 
- 
- 
Method Details- 
metric@Stability(Stable) @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this VPNConnection.- Specified by:
- metricin interface- IVpnConnection
- Parameters:
- metricName- This parameter is required.
- props-
 
- 
metricReturn the given named metric for this VPNConnection.- Specified by:
- metricin interface- IVpnConnection
- Parameters:
- metricName- This parameter is required.
 
- 
metricTunnelDataInThe bytes received through the VPN tunnel.Sum over 5 minutes - Specified by:
- metricTunnelDataInin interface- IVpnConnection
- Parameters:
- props-
 
- 
metricTunnelDataInThe bytes received through the VPN tunnel.Sum over 5 minutes - Specified by:
- metricTunnelDataInin interface- IVpnConnection
 
- 
metricTunnelDataOutThe bytes sent through the VPN tunnel.Sum over 5 minutes - Specified by:
- metricTunnelDataOutin interface- IVpnConnection
- Parameters:
- props-
 
- 
metricTunnelDataOutThe bytes sent through the VPN tunnel.Sum over 5 minutes - Specified by:
- metricTunnelDataOutin interface- IVpnConnection
 
- 
metricTunnelStateThe state of the tunnel. 0 indicates DOWN and 1 indicates UP.Average over 5 minutes - Specified by:
- metricTunnelStatein interface- IVpnConnection
- Parameters:
- props-
 
- 
metricTunnelStateThe state of the tunnel. 0 indicates DOWN and 1 indicates UP.Average over 5 minutes - Specified by:
- metricTunnelStatein interface- IVpnConnection
 
- 
getCustomerGatewayAsnThe ASN of the customer gateway.- Specified by:
- getCustomerGatewayAsnin interface- IVpnConnection
 
- 
getCustomerGatewayIdThe id of the customer gateway.- Specified by:
- getCustomerGatewayIdin interface- IVpnConnection
 
- 
getCustomerGatewayIpThe ip address of the customer gateway.- Specified by:
- getCustomerGatewayIpin interface- IVpnConnection
 
- 
getVpnIdThe id of the VPN connection.- Specified by:
- getVpnIdin interface- IVpnConnection
 
 
-