Class ClientVpnRouteProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.ClientVpnRouteProps.Jsii$Proxy
All Implemented Interfaces:
ClientVpnRouteOptions, ClientVpnRouteProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ClientVpnRouteProps

@Stability(Stable) @Internal public static final class ClientVpnRouteProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ClientVpnRouteProps
An implementation for ClientVpnRouteProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ClientVpnRouteProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ClientVpnRouteProps.Builder.
  • Method Details

    • getClientVpnEndoint

      public final IClientVpnEndpoint getClientVpnEndoint()
      Description copied from interface: ClientVpnRouteProps
      (deprecated) The client VPN endpoint to which to add the route.

      Default: clientVpnEndpoint is required

      Specified by:
      getClientVpnEndoint in interface ClientVpnRouteProps
    • getClientVpnEndpoint

      public final IClientVpnEndpoint getClientVpnEndpoint()
      Description copied from interface: ClientVpnRouteProps
      The client VPN endpoint to which to add the route.

      Default: clientVpnEndpoint is required

      Specified by:
      getClientVpnEndpoint in interface ClientVpnRouteProps
    • getCidr

      public final String getCidr()
      Description copied from interface: ClientVpnRouteOptions
      The IPv4 address range, in CIDR notation, of the route destination.

      For example:

      • To add a route for Internet access, enter 0.0.0.0/0
      • To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range
      • To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection's IPv4 CIDR range
      • To add a route for the local network, enter the client CIDR range
      Specified by:
      getCidr in interface ClientVpnRouteOptions
    • getTarget

      public final ClientVpnRouteTarget getTarget()
      Description copied from interface: ClientVpnRouteOptions
      The target for the route.
      Specified by:
      getTarget in interface ClientVpnRouteOptions
    • getDescription

      public final String getDescription()
      Description copied from interface: ClientVpnRouteOptions
      A brief description of the authorization rule.

      Default: - no description

      Specified by:
      getDescription in interface ClientVpnRouteOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object