Interface CfnVPNConnectionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnVPNConnectionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2025-01-07T10:36:05.734Z") @Stability(Stable) public interface CfnVPNConnectionProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a 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")
         .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: