| Modifier and Type | Method and Description |
|---|---|
HttpRoute.Builder |
authorizationScopes(List<String> authorizationScopes)
(experimental) The list of OIDC scopes to include in the authorization.
|
HttpRoute.Builder |
authorizer(IHttpRouteAuthorizer authorizer)
(experimental) Authorizer for a WebSocket API or an HTTP API.
|
HttpRoute |
build() |
static HttpRoute.Builder |
create(software.constructs.Construct scope,
String id) |
HttpRoute.Builder |
httpApi(IHttpApi httpApi)
(experimental) the API the route is associated with.
|
HttpRoute.Builder |
integration(HttpRouteIntegration integration)
(experimental) The integration to be configured on this route.
|
HttpRoute.Builder |
routeKey(HttpRouteKey routeKey)
(experimental) The key to this route.
|
@Stability(value=Experimental) public static HttpRoute.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.HttpRoute.Builder.@Stability(value=Experimental) public HttpRoute.Builder integration(HttpRouteIntegration integration)
integration - The integration to be configured on this route. This parameter is required.this@Stability(value=Experimental) public HttpRoute.Builder httpApi(IHttpApi httpApi)
httpApi - the API the route is associated with. This parameter is required.this@Stability(value=Experimental) public HttpRoute.Builder routeKey(HttpRouteKey routeKey)
This is a combination of an HTTP method and an HTTP path.
routeKey - The key to this route. This parameter is required.this@Stability(value=Experimental) public HttpRoute.Builder authorizationScopes(List<String> authorizationScopes)
These scopes will be merged with the scopes from the attached authorizer
Default: - no additional authorization scopes
authorizationScopes - The list of OIDC scopes to include in the authorization. This parameter is required.this@Stability(value=Experimental) public HttpRoute.Builder authorizer(IHttpRouteAuthorizer authorizer)
Default: - No authorizer
authorizer - Authorizer for a WebSocket API or an HTTP API. This parameter is required.thisCopyright © 2023. All rights reserved.