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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVPNConnectionProps
static final class
An implementation forCfnVPNConnectionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The ID of the customer gateway at your end of the VPN connection.default Object
Indicate whether to enable acceleration for the VPN connection.default String
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.default String
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.default String
The type of IPv4 address assigned to the outside interface of the customer gateway device.default String
The IPv4 CIDR on the AWS side of the VPN connection.default String
The IPv6 CIDR on the AWS side of the VPN connection.default Object
Indicates whether the VPN connection uses static routes only.getTags()
Any tags assigned to the VPN connection.default String
The ID of the transit gateway associated with the VPN connection.default String
The transit gateway attachment ID to use for the VPN tunnel.default String
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.getType()
The type of VPN connection.default String
The ID of the virtual private gateway at the AWS side of the VPN connection.default Object
The 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:
false
- 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 IPv4 address assigned to the outside interface of the customer gateway device.Valid values:
PrivateIpv4
|PublicIpv4
Default:
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
.- 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
TransitGatewayId
orVpnGatewayId
, but not both.- See Also:
-
getTransportTransitGatewayAttachmentId
The transit gateway attachment ID to use for the VPN tunnel.Required if
OutsideIpAddressType
is 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
TransitGatewayId
orVpnGatewayId
, but not both.- See Also:
-
getVpnTunnelOptionsSpecifications
The tunnel options for the VPN connection.- See Also:
-
builder
- Returns:
- a
CfnVPNConnectionProps.Builder
ofCfnVPNConnectionProps
-