@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:06.808Z") @Stability(value=Experimental) public interface VpnConnectionProps extends software.amazon.jsii.JsiiSerializable, VpnConnectionOptions
// 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.*;
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")
.tunnelInsideCidr("tunnelInsideCidr")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
VpnConnectionProps.Builder
A builder for
VpnConnectionProps |
static class |
VpnConnectionProps.Jsii$Proxy
An implementation for
VpnConnectionProps |
| Modifier and Type | Method and Description |
|---|---|
static VpnConnectionProps.Builder |
builder() |
IVpc |
getVpc()
(experimental) The VPC to connect to.
|
getAsn, getIp, getStaticRoutes, getTunnelOptions@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) static VpnConnectionProps.Builder builder()
builder in interface VpnConnectionOptionsVpnConnectionProps.Builder of VpnConnectionPropsCopyright © 2022. All rights reserved.