@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:42.903Z")
public interface CfnVPNConnectionProps
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 .staticRoutesOnly(false) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .transitGatewayId("transitGatewayId") .vpnGatewayId("vpnGatewayId") .vpnTunnelOptionsSpecifications(List.of(VpnTunnelOptionsSpecificationProperty.builder() .preSharedKey("preSharedKey") .tunnelInsideCidr("tunnelInsideCidr") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnVPNConnectionProps.Builder
A builder for
CfnVPNConnectionProps |
static class |
CfnVPNConnectionProps.Jsii$Proxy
An implementation for
CfnVPNConnectionProps |
Modifier and Type | Method and Description |
---|---|
static CfnVPNConnectionProps.Builder |
builder() |
java.lang.String |
getCustomerGatewayId()
The ID of the customer gateway at your end of the VPN connection.
|
default java.lang.Object |
getStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
default java.util.List<CfnTag> |
getTags()
Any tags assigned to the VPN connection.
|
default java.lang.String |
getTransitGatewayId()
The ID of the transit gateway associated with the VPN connection.
|
java.lang.String |
getType()
The type of VPN connection.
|
default java.lang.String |
getVpnGatewayId()
The ID of the virtual private gateway at the AWS side of the VPN connection.
|
default java.lang.Object |
getVpnTunnelOptionsSpecifications()
The tunnel options for the VPN connection.
|
java.lang.String getCustomerGatewayId()
java.lang.String getType()
default java.lang.Object getStaticRoutesOnly()
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
.
default java.util.List<CfnTag> getTags()
default java.lang.String getTransitGatewayId()
You must specify either TransitGatewayId
or VpnGatewayId
, but not both.
default java.lang.String getVpnGatewayId()
You must specify either TransitGatewayId
or VpnGatewayId
, but not both.
default java.lang.Object getVpnTunnelOptionsSpecifications()
static CfnVPNConnectionProps.Builder builder()
CfnVPNConnectionProps.Builder
of CfnVPNConnectionProps