VpnConnectionArgs

data class VpnConnectionArgs(val customerGatewayId: Output<String>? = null, val enableAcceleration: Output<Boolean>? = null, val localIpv4NetworkCidr: Output<String>? = null, val localIpv6NetworkCidr: Output<String>? = null, val outsideIpAddressType: Output<String>? = null, val remoteIpv4NetworkCidr: Output<String>? = null, val remoteIpv6NetworkCidr: Output<String>? = null, val staticRoutesOnly: Output<Boolean>? = null, val tags: Output<List<TagArgs>>? = null, val transitGatewayId: Output<String>? = null, val transportTransitGatewayAttachmentId: Output<String>? = null, val tunnelInsideIpVersion: Output<String>? = null, val type: Output<String>? = null, val vpnGatewayId: Output<String>? = null, val vpnTunnelOptionsSpecifications: Output<List<VpnConnectionVpnTunnelOptionsSpecificationArgs>>? = null) : ConvertibleToJava<VpnConnectionArgs>

Specifies a VPN connection between a virtual private gateway and a VPN customer gateway or a transit gateway and a VPN customer gateway. To specify a VPN connection between a transit gateway and customer gateway, use the `TransitGatewayId` and `CustomerGatewayId` properties. To specify a VPN connection between a virtual private gateway and customer gateway, use the `VpnGatewayId` and `CustomerGatewayId` properties. For more information, see in the User Guide.

Constructors

Link copied to clipboard
constructor(customerGatewayId: Output<String>? = null, enableAcceleration: Output<Boolean>? = null, localIpv4NetworkCidr: Output<String>? = null, localIpv6NetworkCidr: Output<String>? = null, outsideIpAddressType: Output<String>? = null, remoteIpv4NetworkCidr: Output<String>? = null, remoteIpv6NetworkCidr: Output<String>? = null, staticRoutesOnly: Output<Boolean>? = null, tags: Output<List<TagArgs>>? = null, transitGatewayId: Output<String>? = null, transportTransitGatewayAttachmentId: Output<String>? = null, tunnelInsideIpVersion: Output<String>? = null, type: Output<String>? = null, vpnGatewayId: Output<String>? = null, vpnTunnelOptionsSpecifications: Output<List<VpnConnectionVpnTunnelOptionsSpecificationArgs>>? = null)

Properties

Link copied to clipboard
val customerGatewayId: Output<String>? = null

The ID of the customer gateway at your end of the VPN connection.

Link copied to clipboard
val enableAcceleration: Output<Boolean>? = null

Indicate whether to enable acceleration for the VPN connection. Default: `false`

Link copied to clipboard
val localIpv4NetworkCidr: Output<String>? = null

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: `0.0.0.0/0`

Link copied to clipboard
val localIpv6NetworkCidr: Output<String>? = null

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: `::/0`

Link copied to clipboard
val outsideIpAddressType: Output<String>? = null

The type of IPv4 address assigned to the outside interface of the customer gateway device. Valid values: `PrivateIpv4` | `PublicIpv4` Default: `PublicIpv4`

Link copied to clipboard
val remoteIpv4NetworkCidr: Output<String>? = null

The IPv4 CIDR on the AWS side of the VPN connection. Default: `0.0.0.0/0`

Link copied to clipboard
val remoteIpv6NetworkCidr: Output<String>? = null

The IPv6 CIDR on the AWS side of the VPN connection. Default: `::/0`

Link copied to clipboard
val staticRoutesOnly: Output<Boolean>? = null

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`.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

Any tags assigned to the VPN connection.

Link copied to clipboard
val transitGatewayId: Output<String>? = null

The ID of the transit gateway associated with the VPN connection. You must specify either `TransitGatewayId` or `VpnGatewayId`, but not both.

Link copied to clipboard

The transit gateway attachment ID to use for the VPN tunnel. Required if `OutsideIpAddressType` is set to `PrivateIpv4`.

Link copied to clipboard
val tunnelInsideIpVersion: Output<String>? = null

Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Default: `ipv4`

Link copied to clipboard
val type: Output<String>? = null

The type of VPN connection.

Link copied to clipboard
val vpnGatewayId: Output<String>? = null

The ID of the virtual private gateway at the AWS side of the VPN connection. You must specify either `TransitGatewayId` or `VpnGatewayId`, but not both.

Link copied to clipboard

The tunnel options for the VPN connection.

Functions

Link copied to clipboard
open override fun toJava(): VpnConnectionArgs