@Stability(value=Stable) public static final class CfnVPNConnection.Builder extends Object implements software.amazon.jsii.Builder<CfnVPNConnection>
CfnVPNConnection.| Modifier and Type | Method and Description |
|---|---|
CfnVPNConnection |
build() |
static CfnVPNConnection.Builder |
create(software.constructs.Construct scope,
String id) |
CfnVPNConnection.Builder |
customerGatewayId(String customerGatewayId)
The ID of the customer gateway at your end of the VPN connection.
|
CfnVPNConnection.Builder |
staticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
CfnVPNConnection.Builder |
staticRoutesOnly(IResolvable staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
CfnVPNConnection.Builder |
tags(List<? extends CfnTag> tags)
Any tags assigned to the VPN connection.
|
CfnVPNConnection.Builder |
transitGatewayId(String transitGatewayId)
The ID of the transit gateway associated with the VPN connection.
|
CfnVPNConnection.Builder |
type(String type)
The type of VPN connection.
|
CfnVPNConnection.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway at the AWS side of the VPN connection.
|
CfnVPNConnection.Builder |
vpnTunnelOptionsSpecifications(IResolvable vpnTunnelOptionsSpecifications)
The tunnel options for the VPN connection.
|
CfnVPNConnection.Builder |
vpnTunnelOptionsSpecifications(List<? extends Object> vpnTunnelOptionsSpecifications)
The tunnel options for the VPN connection.
|
@Stability(value=Stable) public static CfnVPNConnection.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnVPNConnection.VpnTunnelOptionsSpecificationProperty.Builder.@Stability(value=Stable) public CfnVPNConnection.Builder customerGatewayId(String customerGatewayId)
customerGatewayId - The ID of the customer gateway at your end of the VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection.Builder type(String type)
type - The type of VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection.Builder staticRoutesOnly(Boolean staticRoutesOnly)
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 .
staticRoutesOnly - Indicates whether the VPN connection uses static routes only. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection.Builder staticRoutesOnly(IResolvable staticRoutesOnly)
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 .
staticRoutesOnly - Indicates whether the VPN connection uses static routes only. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection.Builder tags(List<? extends CfnTag> tags)
tags - Any tags assigned to the VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection.Builder transitGatewayId(String transitGatewayId)
You must specify either TransitGatewayId or VpnGatewayId , but not both.
transitGatewayId - The ID of the transit gateway associated with the VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection.Builder vpnGatewayId(String vpnGatewayId)
You must specify either TransitGatewayId or VpnGatewayId , but not both.
vpnGatewayId - The ID of the virtual private gateway at the AWS side of the VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection.Builder vpnTunnelOptionsSpecifications(IResolvable vpnTunnelOptionsSpecifications)
vpnTunnelOptionsSpecifications - The tunnel options for the VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection.Builder vpnTunnelOptionsSpecifications(List<? extends Object> vpnTunnelOptionsSpecifications)
vpnTunnelOptionsSpecifications - The tunnel options for the VPN connection. This parameter is required.this@Stability(value=Stable) public CfnVPNConnection build()
build in interface software.amazon.jsii.Builder<CfnVPNConnection>Copyright © 2022. All rights reserved.