Class CfnClientVpnRouteProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnClientVpnRouteProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnClientVpnRouteProps
An implementation for CfnClientVpnRouteProps
  • 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(CfnClientVpnRouteProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnClientVpnRouteProps.Builder.
  • Method Details

    • getClientVpnEndpointId

      public final String getClientVpnEndpointId()
      Description copied from interface: CfnClientVpnRouteProps
      The ID of the Client VPN endpoint to which to add the route.
      Specified by:
      getClientVpnEndpointId in interface CfnClientVpnRouteProps
    • getDestinationCidrBlock

      public final String getDestinationCidrBlock()
      Description copied from interface: CfnClientVpnRouteProps
      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:
      getDestinationCidrBlock in interface CfnClientVpnRouteProps
    • getTargetVpcSubnetId

      public final String getTargetVpcSubnetId()
      Description copied from interface: CfnClientVpnRouteProps
      The ID of the subnet through which you want to route traffic.

      The specified subnet must be an existing target network of the Client VPN endpoint.

      Alternatively, if you're adding a route for the local network, specify local .

      Specified by:
      getTargetVpcSubnetId in interface CfnClientVpnRouteProps
    • getDescription

      public final String getDescription()
      Description copied from interface: CfnClientVpnRouteProps
      A brief description of the route.
      Specified by:
      getDescription in interface CfnClientVpnRouteProps
    • $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