Class Authorizer

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.702Z") @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