Interface IHttpRoute.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IHttpRoute, IResource, IResource.Jsii$Default, IRoute, IRoute.Jsii$Default, IRouteRef, IRouteRef.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IHttpRoute.Jsii$Proxy
Enclosing interface:
IHttpRoute

@Internal public static interface IHttpRoute.Jsii$Default extends IHttpRoute, IRoute.Jsii$Default
Internal default implementation for IHttpRoute.
  • Method Details

    • getHttpApi

      @Stability(Stable) @NotNull default IHttpApi getHttpApi()
      The HTTP API associated with this route.
      Specified by:
      getHttpApi in interface IHttpRoute
    • getRouteArn

      @Stability(Stable) @NotNull default String getRouteArn()
      Returns the arn of the route.
      Specified by:
      getRouteArn in interface IHttpRoute
    • getPath

      @Stability(Stable) @Nullable default String getPath()
      Returns the path component of this HTTP route, undefined if the path is the catch-all route.
      Specified by:
      getPath in interface IHttpRoute
    • grantInvoke

      @Stability(Stable) @NotNull default Grant grantInvoke(@NotNull IGrantable grantee, @Nullable GrantInvokeOptions options)
      Grant access to invoke the route.

      This method requires that the authorizer of the route is undefined or is an HttpIamAuthorizer.

      Specified by:
      grantInvoke in interface IHttpRoute
      Parameters:
      grantee - This parameter is required.
      options -
    • grantInvoke

      @Stability(Stable) @NotNull default Grant grantInvoke(@NotNull IGrantable grantee)
      Grant access to invoke the route.

      This method requires that the authorizer of the route is undefined or is an HttpIamAuthorizer.

      Specified by:
      grantInvoke in interface IHttpRoute
      Parameters:
      grantee - This parameter is required.