Interface CfnVPNConnectionProps
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
 CfnVPNConnectionProps.Jsii$Proxy
CfnVPNConnection.
 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.*;
 CfnVPNConnectionProps cfnVPNConnectionProps = CfnVPNConnectionProps.builder()
         .customerGatewayId("customerGatewayId")
         .type("type")
         // the properties below are optional
         .enableAcceleration(false)
         .localIpv4NetworkCidr("localIpv4NetworkCidr")
         .localIpv6NetworkCidr("localIpv6NetworkCidr")
         .outsideIpAddressType("outsideIpAddressType")
         .preSharedKeyStorage("preSharedKeyStorage")
         .remoteIpv4NetworkCidr("remoteIpv4NetworkCidr")
         .remoteIpv6NetworkCidr("remoteIpv6NetworkCidr")
         .staticRoutesOnly(false)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .transitGatewayId("transitGatewayId")
         .transportTransitGatewayAttachmentId("transportTransitGatewayAttachmentId")
         .tunnelInsideIpVersion("tunnelInsideIpVersion")
         .vpnGatewayId("vpnGatewayId")
         .vpnTunnelOptionsSpecifications(List.of(VpnTunnelOptionsSpecificationProperty.builder()
                 .dpdTimeoutAction("dpdTimeoutAction")
                 .dpdTimeoutSeconds(123)
                 .enableTunnelLifecycleControl(false)
                 .ikeVersions(List.of(Map.of(
                         "value", "value")))
                 .logOptions(VpnTunnelLogOptionsSpecificationProperty.builder()
                         .cloudwatchLogOptions(CloudwatchLogOptionsSpecificationProperty.builder()
                                 .logEnabled(false)
                                 .logGroupArn("logGroupArn")
                                 .logOutputFormat("logOutputFormat")
                                 .build())
                         .build())
                 .phase1DhGroupNumbers(List.of(Phase1DHGroupNumbersRequestListValueProperty.builder()
                         .value(123)
                         .build()))
                 .phase1EncryptionAlgorithms(List.of(Phase1EncryptionAlgorithmsRequestListValueProperty.builder()
                         .value("value")
                         .build()))
                 .phase1IntegrityAlgorithms(List.of(Phase1IntegrityAlgorithmsRequestListValueProperty.builder()
                         .value("value")
                         .build()))
                 .phase1LifetimeSeconds(123)
                 .phase2DhGroupNumbers(List.of(Phase2DHGroupNumbersRequestListValueProperty.builder()
                         .value(123)
                         .build()))
                 .phase2EncryptionAlgorithms(List.of(Phase2EncryptionAlgorithmsRequestListValueProperty.builder()
                         .value("value")
                         .build()))
                 .phase2IntegrityAlgorithms(List.of(Phase2IntegrityAlgorithmsRequestListValueProperty.builder()
                         .value("value")
                         .build()))
                 .phase2LifetimeSeconds(123)
                 .preSharedKey("preSharedKey")
                 .rekeyFuzzPercentage(123)
                 .rekeyMarginTimeSeconds(123)
                 .replayWindowSize(123)
                 .startupAction("startupAction")
                 .tunnelInsideCidr("tunnelInsideCidr")
                 .tunnelInsideIpv6Cidr("tunnelInsideIpv6Cidr")
                 .build()))
         .build();
 
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVPNConnectionPropsstatic final classAn implementation forCfnVPNConnectionProps - 
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ID of the customer gateway at your end of the VPN connection.default ObjectIndicate whether to enable acceleration for the VPN connection.default StringThe IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.default StringThe IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.default StringThe type of IP address assigned to the outside interface of the customer gateway device.default StringDescribes the storage location for an instance store-backed AMI.default StringThe IPv4 CIDR on the AWS side of the VPN connection.default StringThe IPv6 CIDR on the AWS side of the VPN connection.default ObjectIndicates whether the VPN connection uses static routes only.getTags()Any tags assigned to the VPN connection.default StringThe ID of the transit gateway associated with the VPN connection.default StringThe transit gateway attachment ID to use for the VPN tunnel.default StringIndicate whether the VPN tunnels process IPv4 or IPv6 traffic.getType()The type of VPN connection.default StringThe ID of the virtual private gateway at the AWS side of the VPN connection.default ObjectThe tunnel options for the VPN connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Method Details
- 
getCustomerGatewayId
The ID of the customer gateway at your end of the VPN connection.- See Also:
 
 - 
getType
The type of VPN connection.- See Also:
 
 - 
getEnableAcceleration
Indicate whether to enable acceleration for the VPN connection.Default:
falseReturns union: either
BooleanorIResolvable- See Also:
 
 - 
getLocalIpv4NetworkCidr
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.Default:
0.0.0.0/0- See Also:
 
 - 
getLocalIpv6NetworkCidr
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.Default:
::/0- See Also:
 
 - 
getOutsideIpAddressType
The type of IP address assigned to the outside interface of the customer gateway device.Valid values:
PrivateIpv4|PublicIpv4|Ipv6Default:
PublicIpv4- See Also:
 
 - 
getRemoteIpv4NetworkCidr
The IPv4 CIDR on the AWS side of the VPN connection.Default:
0.0.0.0/0- See Also:
 
 - 
getRemoteIpv6NetworkCidr
The IPv6 CIDR on the AWS side of the VPN connection.Default:
::/0- See Also:
 
 - 
getStaticRoutesOnly
Indicates whether the VPN connection uses static routes only.Static routes must be used for devices that don't support BGP.
If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify
true.Returns union: either
BooleanorIResolvable- See Also:
 
 - 
getTags
Any tags assigned to the VPN connection.- See Also:
 
 - 
getTransitGatewayId
The ID of the transit gateway associated with the VPN connection.You must specify either
TransitGatewayIdorVpnGatewayId, but not both.- See Also:
 
 - 
getTransportTransitGatewayAttachmentId
The transit gateway attachment ID to use for the VPN tunnel.Required if
OutsideIpAddressTypeis set toPrivateIpv4.- See Also:
 
 - 
getTunnelInsideIpVersion
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.Default:
ipv4- See Also:
 
 - 
getVpnGatewayId
The ID of the virtual private gateway at the AWS side of the VPN connection.You must specify either
TransitGatewayIdorVpnGatewayId, but not both.- See Also:
 
 - 
getVpnTunnelOptionsSpecifications
The tunnel options for the VPN connection.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnVPNConnection.VpnTunnelOptionsSpecificationProperty>- See Also:
 
 - 
builder
- Returns:
 - a 
CfnVPNConnectionProps.BuilderofCfnVPNConnectionProps 
 
 -