Interface VpnConnectionAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
VpnConnectionAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-02T15:58:24.908Z") @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();
 
  • Method Details

    • getCustomerGatewayAsn

      @Stability(Stable) @NotNull Number getCustomerGatewayAsn()
      The ASN of the customer gateway.
    • getCustomerGatewayId

      @Stability(Stable) @NotNull String getCustomerGatewayId()
      The id of the customer gateway.
    • getCustomerGatewayIp

      @Stability(Stable) @NotNull String getCustomerGatewayIp()
      The ip address of the customer gateway.
    • getVpnId

      @Stability(Stable) @NotNull String getVpnId()
      The id of the VPN connection.
    • builder

      @Stability(Stable) static VpnConnectionAttributes.Builder builder()
      Returns:
      a VpnConnectionAttributes.Builder of VpnConnectionAttributes