Interface IRouteV2

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IRouteV2.Jsii$Default
All Known Implementing Classes:
IRouteV2.Jsii$Proxy, Route

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:18.763Z") @Stability(Experimental) public interface IRouteV2 extends software.amazon.jsii.JsiiSerializable, IResource
(experimental) Interface to define a route.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IRouteV2.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The IPv4 or IPv6 CIDR block used for the destination match.
    (experimental) The ID of the route table for the route.
    (experimental) The gateway or endpoint targeted by the route.

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getEnv, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getDestination

      @Stability(Experimental) @NotNull String getDestination()
      (experimental) The IPv4 or IPv6 CIDR block used for the destination match.

      Routing decisions are based on the most specific match. TODO: Look for strong IP type implementation here.

    • getRouteTable

      @Stability(Experimental) @NotNull IRouteTable getRouteTable()
      (experimental) The ID of the route table for the route.
    • getTarget

      @Stability(Experimental) @NotNull RouteTargetType getTarget()
      (experimental) The gateway or endpoint targeted by the route.