Interface HttpRouteAuthorizerConfig

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:43.284Z") @Stability(Experimental) public interface HttpRouteAuthorizerConfig extends
(experimental) Results of binding an authorizer to an http route.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 HttpRouteAuthorizerConfig httpRouteAuthorizerConfig = HttpRouteAuthorizerConfig.builder()
         // the properties below are optional
  • 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()
      a HttpRouteAuthorizerConfig.Builder of HttpRouteAuthorizerConfig