Interface IVpnConnection.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,IVpnConnection,IVPNConnectionRef,IVPNConnectionRef.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IVpnConnection.Jsii$Proxy
- Enclosing interface:
IVpnConnection
IVpnConnection.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVpnConnection
IVpnConnection.Jsii$Default, IVpnConnection.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVPNConnectionRef
IVPNConnectionRef.Jsii$Default, IVPNConnectionRef.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default NumberThe ASN of the customer gateway.default StringThe id of the customer gateway.default StringThe ip address of the customer gateway.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default software.constructs.NodegetNode()The tree node.default StackgetStack()The stack in which this resource is defined.default VPNConnectionReference(experimental) A reference to a VPNConnection resource.default StringgetVpnId()The id of the VPN connection.default Metricmetric(String metricName, MetricOptions props) Return the given named metric for this VPNConnection.default MetricmetricTunnelDataIn(MetricOptions props) The bytes received through the VPN tunnel.default MetricmetricTunnelDataOut(MetricOptions props) The bytes sent through the VPN tunnel.default MetricmetricTunnelState(MetricOptions props) The state of the tunnel.Methods inherited from interface software.amazon.awscdk.services.ec2.IVpnConnection
metric, metricTunnelDataIn, metricTunnelDataOut, metricTunnelStateMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default- Specified by:
getNodein interfaceIVpnConnection- Specified by:
getNodein interfaceIVPNConnectionRef.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware- Specified by:
getEnvin interfaceIEnvironmentAware.Jsii$Default- Specified by:
getEnvin interfaceIResource.Jsii$Default- Specified by:
getEnvin interfaceIVpnConnection- Specified by:
getEnvin interfaceIVPNConnectionRef.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getVpnConnectionRef
(experimental) A reference to a VPNConnection resource.- Specified by:
getVpnConnectionRefin interfaceIVPNConnectionRef- Specified by:
getVpnConnectionRefin interfaceIVPNConnectionRef.Jsii$Default
-
getCustomerGatewayAsn
The ASN of the customer gateway.- Specified by:
getCustomerGatewayAsnin interfaceIVpnConnection
-
getCustomerGatewayId
The id of the customer gateway.- Specified by:
getCustomerGatewayIdin interfaceIVpnConnection
-
getCustomerGatewayIp
The ip address of the customer gateway.- Specified by:
getCustomerGatewayIpin interfaceIVpnConnection
-
getVpnId
The id of the VPN connection.- Specified by:
getVpnIdin interfaceIVpnConnection
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this VPNConnection.- Specified by:
metricin interfaceIVpnConnection- Parameters:
metricName- This parameter is required.props-
-
metricTunnelDataIn
The bytes received through the VPN tunnel.Sum over 5 minutes
- Specified by:
metricTunnelDataInin interfaceIVpnConnection- Parameters:
props-
-
metricTunnelDataOut
The bytes sent through the VPN tunnel.Sum over 5 minutes
- Specified by:
metricTunnelDataOutin interfaceIVpnConnection- Parameters:
props-
-
metricTunnelState
The state of the tunnel. 0 indicates DOWN and 1 indicates UP.Average over 5 minutes
- Specified by:
metricTunnelStatein interfaceIVpnConnection- Parameters:
props-
-