Interface HttpRouteProps
- All Superinterfaces:
- BatchHttpRouteOptions,- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- HttpRouteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:43.290Z")
@Stability(Experimental)
public interface HttpRouteProps
extends software.amazon.jsii.JsiiSerializable, BatchHttpRouteOptions
(experimental) Properties to initialize a new Route.
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apigatewayv2.*;
 HttpApi httpApi;
 IHttpRouteAuthorizer httpRouteAuthorizer;
 HttpRouteIntegration httpRouteIntegration;
 HttpRouteKey httpRouteKey;
 HttpRouteProps httpRouteProps = HttpRouteProps.builder()
         .httpApi(httpApi)
         .integration(httpRouteIntegration)
         .routeKey(httpRouteKey)
         // the properties below are optional
         .authorizationScopes(List.of("authorizationScopes"))
         .authorizer(httpRouteAuthorizer)
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpRoutePropsstatic final classAn implementation forHttpRouteProps
- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpRouteProps.Builderbuilder()(experimental) The list of OIDC scopes to include in the authorization.default IHttpRouteAuthorizer(experimental) Authorizer for a WebSocket API or an HTTP API.(experimental) the API the route is associated with.(experimental) The key to this route.Methods inherited from interface software.amazon.awscdk.services.apigatewayv2.BatchHttpRouteOptionsgetIntegrationMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getHttpApi(experimental) the API the route is associated with.
- 
getRouteKey(experimental) The key to this route.This is a combination of an HTTP method and an HTTP path. 
- 
getAuthorizationScopes(experimental) The list of OIDC scopes to include in the authorization.These scopes will be merged with the scopes from the attached authorizer Default: - no additional authorization scopes 
- 
getAuthorizer(experimental) Authorizer for a WebSocket API or an HTTP API.Default: - No authorizer 
- 
builder- Returns:
- a HttpRouteProps.BuilderofHttpRouteProps
 
 
-