@Internal public static interface IVpnConnection.Jsii$Default extends IVpnConnection, IResource.Jsii$Default
IVpnConnection
.IVpnConnection.Jsii$Default, IVpnConnection.Jsii$Proxy
Modifier and Type | Method and Description |
---|---|
default Number |
getCustomerGatewayAsn()
(experimental) The ASN of the customer gateway.
|
default String |
getCustomerGatewayId()
(experimental) The id of the customer gateway.
|
default String |
getCustomerGatewayIp()
(experimental) The ip address of the customer gateway.
|
default ResourceEnvironment |
getEnv()
(experimental) The environment this resource belongs to.
|
default software.constructs.Node |
getNode()
The tree node.
|
default Stack |
getStack()
(experimental) The stack in which this resource is defined.
|
default String |
getVpnId()
(experimental) The id of the VPN connection.
|
default Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this VPNConnection.
|
default Metric |
metricTunnelDataIn(MetricOptions props)
(experimental) The bytes received through the VPN tunnel.
|
default Metric |
metricTunnelDataOut(MetricOptions props)
(experimental) The bytes sent through the VPN tunnel.
|
default Metric |
metricTunnelState(MetricOptions props)
(experimental) The state of the tunnel.
|
metric, metricTunnelDataIn, metricTunnelDataOut, metricTunnelState
@Stability(value=Stable) @NotNull default software.constructs.Node getNode()
getNode
in interface software.constructs.IConstruct
getNode
in interface software.constructs.IConstruct.Jsii$Default
getNode
in interface IResource.Jsii$Default
@Stability(value=Experimental) @NotNull default ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
getEnv
in interface IResource
getEnv
in interface IResource.Jsii$Default
@Stability(value=Experimental) @NotNull default Stack getStack()
getStack
in interface IResource
getStack
in interface IResource.Jsii$Default
@Stability(value=Experimental) @NotNull default Number getCustomerGatewayAsn()
getCustomerGatewayAsn
in interface IVpnConnection
@Stability(value=Experimental) @NotNull default String getCustomerGatewayId()
getCustomerGatewayId
in interface IVpnConnection
@Stability(value=Experimental) @NotNull default String getCustomerGatewayIp()
getCustomerGatewayIp
in interface IVpnConnection
@Stability(value=Experimental) @NotNull default String getVpnId()
getVpnId
in interface IVpnConnection
@Stability(value=Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
metric
in interface IVpnConnection
metricName
- This parameter is required.props
- @Stability(value=Experimental) @NotNull default Metric metricTunnelDataIn(@Nullable MetricOptions props)
Sum over 5 minutes
metricTunnelDataIn
in interface IVpnConnection
props
- @Stability(value=Experimental) @NotNull default Metric metricTunnelDataOut(@Nullable MetricOptions props)
Sum over 5 minutes
metricTunnelDataOut
in interface IVpnConnection
props
- @Stability(value=Experimental) @NotNull default Metric metricTunnelState(@Nullable MetricOptions props)
Average over 5 minutes
metricTunnelState
in interface IVpnConnection
props
- Copyright © 2021. All rights reserved.