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.99.0 (build 8f757e4)", date="2024-06-13T18:49:13.603Z") @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