Interface HttpRouteAuthorizerConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpRouteAuthorizerConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:31.720Z")
@Stability(Stable)
public interface HttpRouteAuthorizerConfig
extends software.amazon.jsii.JsiiSerializable
Results of binding an authorizer to an http 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.*;
HttpRouteAuthorizerConfig httpRouteAuthorizerConfig = HttpRouteAuthorizerConfig.builder()
.authorizationType("authorizationType")
// the properties below are optional
.authorizationScopes(List.of("authorizationScopes"))
.authorizerId("authorizerId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpRouteAuthorizerConfigstatic final classAn implementation forHttpRouteAuthorizerConfig -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizationType
The type of authorization.Possible values are:
- AWS_IAM - IAM Authorizer
- JWT - JSON Web Token Authorizer
- CUSTOM - Lambda Authorizer
- NONE - No Authorization
-
getAuthorizationScopes
The list of OIDC scopes to include in the authorization.Default: - no authorization scopes
-
getAuthorizerId
The authorizer id.Default: - No authorizer id (useful for AWS_IAM route authorizer)
-
builder
- Returns:
- a
HttpRouteAuthorizerConfig.BuilderofHttpRouteAuthorizerConfig
-