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();
 
  • Method Details

    • getAuthorizationType

      @Stability(Experimental) @NotNull String 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

      @Stability(Experimental) @Nullable default List<String> getAuthorizationScopes()
      (experimental) The list of OIDC scopes to include in the authorization.

      Default: - no authorization scopes

    • getAuthorizerId

      @Stability(Experimental) @Nullable default String getAuthorizerId()
      (experimental) The authorizer id.

      Default: - No authorizer id (useful for AWS_IAM route authorizer)

    • builder

      @Stability(Experimental) static HttpRouteAuthorizerConfig.Builder builder()
      Returns:
      a HttpRouteAuthorizerConfig.Builder of HttpRouteAuthorizerConfig