Interface CfnVPNGatewayProps

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

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

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

    • getType

      @Stability(Stable) @NotNull String getType()
      The type of VPN connection the virtual private gateway supports.
    • getAmazonSideAsn

      @Stability(Stable) @Nullable default Number getAmazonSideAsn()
      The private Autonomous System Number (ASN) for the Amazon side of a BGP session.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      Any tags assigned to the virtual private gateway.
    • builder

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