Interface HttpRouteAuthorizerConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpRouteAuthorizerConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.284Z")
@Stability(Experimental)
public interface HttpRouteAuthorizerConfig
extends software.amazon.jsii.JsiiSerializable
(experimental) 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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpRouteAuthorizerConfig
static final class
An implementation forHttpRouteAuthorizerConfig
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorizationType
(experimental) The type of authorization.Possible values are:
- AWS_IAM - IAM Authorizer
- JWT - JSON Web Token Authorizer
- CUSTOM - Lambda Authorizer
- NONE - No Authorization
-
getAuthorizationScopes
(experimental) The list of OIDC scopes to include in the authorization.Default: - no authorization scopes
-
getAuthorizerId
(experimental) The authorizer id.Default: - No authorizer id (useful for AWS_IAM route authorizer)
-
builder
- Returns:
- a
HttpRouteAuthorizerConfig.Builder
ofHttpRouteAuthorizerConfig
-