Class CfnVPNConnectionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNConnectionPropsMixin>
- Enclosing class:
CfnVPNConnectionPropsMixin
CfnVPNConnectionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) customerGatewayId(String customerGatewayId) The ID of the customer gateway at your end of the VPN connection.customerGatewayId(ICustomerGatewayRef customerGatewayId) The ID of the customer gateway at your end of the VPN connection.enableAcceleration(Boolean enableAcceleration) Indicate whether to enable acceleration for the VPN connection.enableAcceleration(IResolvable enableAcceleration) Indicate whether to enable acceleration for the VPN connection.localIpv4NetworkCidr(String localIpv4NetworkCidr) The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.localIpv6NetworkCidr(String localIpv6NetworkCidr) The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.outsideIpAddressType(String outsideIpAddressType) The type of IP address assigned to the outside interface of the customer gateway device.preSharedKeyStorage(String preSharedKeyStorage) Describes the storage location for an instance store-backed AMI.remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr) The IPv4 CIDR on the AWS side of the VPN connection.remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr) The IPv6 CIDR on the AWS side of the VPN connection.staticRoutesOnly(Boolean staticRoutesOnly) Indicates whether the VPN connection uses static routes only.staticRoutesOnly(IResolvable staticRoutesOnly) Indicates whether the VPN connection uses static routes only.Any tags assigned to the VPN connection.transitGatewayId(String transitGatewayId) The ID of the transit gateway associated with the VPN connection.transitGatewayId(ITransitGatewayRef transitGatewayId) The ID of the transit gateway associated with the VPN connection.transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId) The transit gateway attachment ID to use for the VPN tunnel.tunnelBandwidth(String tunnelBandwidth) The desired bandwidth specification for the VPN tunnel, used when creating or modifying VPN connection options to set the tunnel's throughput capacity.tunnelInsideIpVersion(String tunnelInsideIpVersion) Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.The type of VPN connection.vpnConcentratorId(String vpnConcentratorId) The ID of the VPN concentrator to associate with the VPN connection.vpnGatewayId(String vpnGatewayId) The ID of the virtual private gateway at the AWS side of the VPN connection.vpnGatewayId(IVPNGatewayRef vpnGatewayId) The ID of the virtual private gateway at the AWS side of the VPN connection.vpnTunnelOptionsSpecifications(List<? extends Object> vpnTunnelOptionsSpecifications) The tunnel options for the VPN connection.vpnTunnelOptionsSpecifications(IResolvable vpnTunnelOptionsSpecifications) The tunnel options for the VPN connection.
-
Method Details
-
create
@Stability(Stable) public static CfnVPNConnectionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVPNConnectionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVPNConnectionPropsMixin.Builder.
-
customerGatewayId
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder customerGatewayId(String customerGatewayId) The ID of the customer gateway at your end of the VPN connection.- Parameters:
customerGatewayId- The ID of the customer gateway at your end of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
customerGatewayId
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder customerGatewayId(ICustomerGatewayRef customerGatewayId) The ID of the customer gateway at your end of the VPN connection.- Parameters:
customerGatewayId- The ID of the customer gateway at your end of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
enableAcceleration
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder enableAcceleration(Boolean enableAcceleration) Indicate whether to enable acceleration for the VPN connection.Default:
false- Parameters:
enableAcceleration- Indicate whether to enable acceleration for the VPN connection. This parameter is required.- Returns:
this- See Also:
-
enableAcceleration
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder enableAcceleration(IResolvable enableAcceleration) Indicate whether to enable acceleration for the VPN connection.Default:
false- Parameters:
enableAcceleration- Indicate whether to enable acceleration for the VPN connection. This parameter is required.- Returns:
this- See Also:
-
localIpv4NetworkCidr
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder localIpv4NetworkCidr(String localIpv4NetworkCidr) The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.Default:
0.0.0.0/0- Parameters:
localIpv4NetworkCidr- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
localIpv6NetworkCidr
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder localIpv6NetworkCidr(String localIpv6NetworkCidr) The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.Default:
::/0- Parameters:
localIpv6NetworkCidr- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
outsideIpAddressType
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder outsideIpAddressType(String outsideIpAddressType) The type of IP address assigned to the outside interface of the customer gateway device.Valid values:
PrivateIpv4|PublicIpv4|Ipv6Default:
PublicIpv4- Parameters:
outsideIpAddressType- The type of IP address assigned to the outside interface of the customer gateway device. This parameter is required.- Returns:
this- See Also:
-
remoteIpv4NetworkCidr
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr) The IPv4 CIDR on the AWS side of the VPN connection.Default:
0.0.0.0/0- Parameters:
remoteIpv4NetworkCidr- The IPv4 CIDR on the AWS side of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
remoteIpv6NetworkCidr
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr) The IPv6 CIDR on the AWS side of the VPN connection.Default:
::/0- Parameters:
remoteIpv6NetworkCidr- The IPv6 CIDR on the AWS side of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
staticRoutesOnly
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder staticRoutesOnly(Boolean staticRoutesOnly) 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.- Parameters:
staticRoutesOnly- Indicates whether the VPN connection uses static routes only. This parameter is required.- Returns:
this- See Also:
-
staticRoutesOnly
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder staticRoutesOnly(IResolvable staticRoutesOnly) 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.- Parameters:
staticRoutesOnly- Indicates whether the VPN connection uses static routes only. This parameter is required.- Returns:
this- See Also:
-
tags
Any tags assigned to the VPN connection.- Parameters:
tags- Any tags assigned to the VPN connection. This parameter is required.- Returns:
this- See Also:
-
transitGatewayId
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder transitGatewayId(String transitGatewayId) The ID of the transit gateway associated with the VPN connection.You must specify either
TransitGatewayIdorVpnGatewayId, but not both.- Parameters:
transitGatewayId- The ID of the transit gateway associated with the VPN connection. This parameter is required.- Returns:
this- See Also:
-
transitGatewayId
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder transitGatewayId(ITransitGatewayRef transitGatewayId) The ID of the transit gateway associated with the VPN connection.You must specify either
TransitGatewayIdorVpnGatewayId, but not both.- Parameters:
transitGatewayId- The ID of the transit gateway associated with the VPN connection. This parameter is required.- Returns:
this- See Also:
-
transportTransitGatewayAttachmentId
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId) The transit gateway attachment ID to use for the VPN tunnel.Required if
OutsideIpAddressTypeis set toPrivateIpv4.- Parameters:
transportTransitGatewayAttachmentId- The transit gateway attachment ID to use for the VPN tunnel. This parameter is required.- Returns:
this- See Also:
-
tunnelBandwidth
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder tunnelBandwidth(String tunnelBandwidth) The desired bandwidth specification for the VPN tunnel, used when creating or modifying VPN connection options to set the tunnel's throughput capacity.standardsupports up to 1.25 Gbps per tunnel, whilelargesupports up to 5 Gbps per tunnel. The default value isstandard. Existing VPN connections without a bandwidth setting will automatically default tostandard.Default: - "standard"
- Parameters:
tunnelBandwidth- The desired bandwidth specification for the VPN tunnel, used when creating or modifying VPN connection options to set the tunnel's throughput capacity. This parameter is required.- Returns:
this- See Also:
-
tunnelInsideIpVersion
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder tunnelInsideIpVersion(String tunnelInsideIpVersion) Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.Default:
ipv4- Parameters:
tunnelInsideIpVersion- Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. This parameter is required.- Returns:
this- See Also:
-
type
The type of VPN connection.- Parameters:
type- The type of VPN connection. This parameter is required.- Returns:
this- See Also:
-
vpnConcentratorId
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder vpnConcentratorId(String vpnConcentratorId) The ID of the VPN concentrator to associate with the VPN connection.- Parameters:
vpnConcentratorId- The ID of the VPN concentrator to associate with the VPN connection. This parameter is required.- Returns:
this- See Also:
-
vpnGatewayId
The ID of the virtual private gateway at the AWS side of the VPN connection.You must specify either
TransitGatewayIdorVpnGatewayId, but not both.- Parameters:
vpnGatewayId- The ID of the virtual private gateway at the AWS side of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
vpnGatewayId
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder vpnGatewayId(IVPNGatewayRef vpnGatewayId) The ID of the virtual private gateway at the AWS side of the VPN connection.You must specify either
TransitGatewayIdorVpnGatewayId, but not both.- Parameters:
vpnGatewayId- The ID of the virtual private gateway at the AWS side of the VPN connection. This parameter is required.- Returns:
this- See Also:
-
vpnTunnelOptionsSpecifications
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder vpnTunnelOptionsSpecifications(IResolvable vpnTunnelOptionsSpecifications) The tunnel options for the VPN connection.- Parameters:
vpnTunnelOptionsSpecifications- The tunnel options for the VPN connection. This parameter is required.- Returns:
this- See Also:
-
vpnTunnelOptionsSpecifications
@Stability(Stable) public CfnVPNConnectionPropsMixin.Builder vpnTunnelOptionsSpecifications(List<? extends Object> vpnTunnelOptionsSpecifications) The tunnel options for the VPN connection.- Parameters:
vpnTunnelOptionsSpecifications- The tunnel options for the VPN connection. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPNConnectionPropsMixin>- Returns:
- a newly built instance of
CfnVPNConnectionPropsMixin.
-