Interface VpnConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,VpnConnectionOptions
- All Known Implementing Classes:
VpnConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.594Z")
@Stability(Stable)
public interface VpnConnectionProps
extends software.amazon.jsii.JsiiSerializable, VpnConnectionOptions
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.core.*; SecretValue secretValue; Vpc vpc; VpnConnectionProps vpnConnectionProps = VpnConnectionProps.builder() .ip("ip") .vpc(vpc) // the properties below are optional .asn(123) .staticRoutes(List.of("staticRoutes")) .tunnelOptions(List.of(VpnTunnelOption.builder() .preSharedKey("preSharedKey") .preSharedKeySecret(secretValue) .tunnelInsideCidr("tunnelInsideCidr") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forVpnConnectionProps
static final class
An implementation forVpnConnectionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic VpnConnectionProps.Builder
builder()
getVpc()
The VPC to connect to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.ec2.VpnConnectionOptions
getAsn, getIp, getStaticRoutes, getTunnelOptions
-
Method Details
-
getVpc
The VPC to connect to. -
builder
- Returns:
- a
VpnConnectionProps.Builder
ofVpnConnectionProps
-