Interface CfnCustomerGatewayProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.463Z") @Stability(Stable) public interface CfnCustomerGatewayProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnCustomerGateway.

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.*;
 CfnCustomerGatewayProps cfnCustomerGatewayProps = CfnCustomerGatewayProps.builder()
         .bgpAsn(123)
         .ipAddress("ipAddress")
         .type("type")
         // the properties below are optional
         .deviceName("deviceName")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getBgpAsn

      @Stability(Stable) @NotNull Number getBgpAsn()
      For devices that support BGP, the customer gateway's BGP ASN.

      Default: 65000

    • getIpAddress

      @Stability(Stable) @NotNull String getIpAddress()
      IPv4 address for the customer gateway device's outside interface.

      The address must be static.

    • getType

      @Stability(Stable) @NotNull String getType()
      The type of VPN connection that this customer gateway supports ( ipsec.1 ).
    • getDeviceName

      @Stability(Stable) @Nullable default String getDeviceName()
      The name of customer gateway device.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      One or more tags for the customer gateway.
    • builder

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