Class Authorizer

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.apigateway.Authorizer
All Implemented Interfaces:
IResource, IAuthorizer, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
Direct Known Subclasses:
CognitoUserPoolsAuthorizer, RequestAuthorizer, TokenAuthorizer

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:03.377Z") @Stability(Stable) public abstract class Authorizer extends Resource implements IAuthorizer
Base class for all custom authorizers.
  • Constructor Details

    • Authorizer

      protected Authorizer(software.amazon.jsii.JsiiObjectRef objRef)
    • Authorizer

      protected Authorizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Authorizer

      @Stability(Stable) protected Authorizer(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • Authorizer

      @Stability(Stable) protected Authorizer(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • isAuthorizer

      @Stability(Stable) @NotNull public static Boolean isAuthorizer(@NotNull Object x)
      Return whether the given object is an Authorizer.

      Parameters:
      x - This parameter is required.
    • getAuthorizerId

      @Stability(Stable) @NotNull public abstract String getAuthorizerId()
      The authorizer ID.
      Specified by:
      getAuthorizerId in interface IAuthorizer
    • getAuthorizationType

      @Stability(Stable) @Nullable public AuthorizationType getAuthorizationType()
      The authorization type of this authorizer.
      Specified by:
      getAuthorizationType in interface IAuthorizer