@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-28T21:34:25.465Z") public interface IHttpRoute extends 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 java.lang.String |
getPath()
(experimental) Returns the path component of this HTTP route, `undefined` if the path is the catch-all route.
|
java.lang.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.
|
getRouteId
applyRemovalPolicy, getEnv, getStack
getNode
IHttpApi getHttpApi()
java.lang.String getRouteArn()
default java.lang.String getPath()
Grant grantInvoke(IGrantable grantee, GrantInvokeOptions options)
This method requires that the authorizer of the route is undefined or is
an HttpIamAuthorizer
.
grantee
- This parameter is required.options
- Grant grantInvoke(IGrantable grantee)
This method requires that the authorizer of the route is undefined or is
an HttpIamAuthorizer
.
grantee
- This parameter is required.