@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.041Z") @Stability(value=Experimental) public interface IHttpRoute extends software.amazon.jsii.JsiiSerializable, IRoute
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IHttpRoute.Jsii$Default
Internal default implementation for
IHttpRoute. |
static class |
IHttpRoute.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
IHttpApi |
getHttpApi()
(experimental) The HTTP API associated with this route.
|
default String |
getPath()
(experimental) Returns the path component of this HTTP route, `undefined` if the path is the catch-all route.
|
String |
getRouteArn()
(experimental) Returns the arn of the route.
|
Grant |
grantInvoke(IGrantable grantee)
(experimental) Grant access to invoke the route.
|
Grant |
grantInvoke(IGrantable grantee,
GrantInvokeOptions options)
(experimental) Grant access to invoke the route.
|
getRouteIdapplyRemovalPolicy, getEnv, getStackgetNode@Stability(value=Experimental) @NotNull IHttpApi getHttpApi()
@Stability(value=Experimental) @NotNull String getRouteArn()
@Stability(value=Experimental) @Nullable default String getPath()
@Stability(value=Experimental) @NotNull Grant grantInvoke(@NotNull IGrantable grantee, @Nullable GrantInvokeOptions options)
This method requires that the authorizer of the route is undefined or is
an HttpIamAuthorizer.
grantee - This parameter is required.options - @Stability(value=Experimental) @NotNull Grant grantInvoke(@NotNull IGrantable grantee)
This method requires that the authorizer of the route is undefined or is
an HttpIamAuthorizer.
grantee - This parameter is required.Copyright © 2022. All rights reserved.