Class VpnConnectionProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.VpnConnectionProps.Jsii$Proxy
- All Implemented Interfaces:
VpnConnectionOptions
,VpnConnectionProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
VpnConnectionProps
@Stability(Stable)
@Internal
public static final class VpnConnectionProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements VpnConnectionProps
An implementation for
VpnConnectionProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.VpnConnectionProps
VpnConnectionProps.Builder, VpnConnectionProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(VpnConnectionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theVpnConnectionProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
getAsn()
The ASN of the customer gateway.final String
getIp()
The ip address of the customer gateway.The static routes to be routed from the VPN gateway to the customer gateway.final List<VpnTunnelOption>
The tunnel options for the VPN connection.final IVpc
getVpc()
The VPC to connect to.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theVpnConnectionProps.Builder
.
-
-
Method Details
-
getVpc
Description copied from interface:VpnConnectionProps
The VPC to connect to.- Specified by:
getVpc
in interfaceVpnConnectionProps
-
getIp
Description copied from interface:VpnConnectionOptions
The ip address of the customer gateway.- Specified by:
getIp
in interfaceVpnConnectionOptions
-
getAsn
Description copied from interface:VpnConnectionOptions
The ASN of the customer gateway.Default: 65000
- Specified by:
getAsn
in interfaceVpnConnectionOptions
-
getStaticRoutes
Description copied from interface:VpnConnectionOptions
The static routes to be routed from the VPN gateway to the customer gateway.Default: Dynamic routing (BGP)
- Specified by:
getStaticRoutes
in interfaceVpnConnectionOptions
-
getTunnelOptions
Description copied from interface:VpnConnectionOptions
The tunnel options for the VPN connection.At most two elements (one per tunnel). Duplicates not allowed.
Default: Amazon generated tunnel options
- Specified by:
getTunnelOptions
in interfaceVpnConnectionOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-