Interface VpnConnectionAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpnConnectionAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:50.163Z")
@Stability(Stable)
public interface VpnConnectionAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes of an imported VpnConnection.
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.*;
VpnConnectionAttributes vpnConnectionAttributes = VpnConnectionAttributes.builder()
.customerGatewayAsn(123)
.customerGatewayId("customerGatewayId")
.customerGatewayIp("customerGatewayIp")
.vpnId("vpnId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpnConnectionAttributesstatic final classAn implementation forVpnConnectionAttributes -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomerGatewayAsn
The ASN of the customer gateway. -
getCustomerGatewayId
The id of the customer gateway. -
getCustomerGatewayIp
The ip address of the customer gateway. -
getVpnId
The id of the VPN connection. -
builder
- Returns:
- a
VpnConnectionAttributes.BuilderofVpnConnectionAttributes
-