Class Authorizers

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
               date="2023-02-15T09:33:12.683Z")
    @Stability(Experimental)
    public class Authorizers
    extends software.amazon.jsii.JsiiObject
    (experimental) Class used to construct authorizers for use in the OpenApiGatewayLambdaApi construct.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        Authorizers()  
      protected Authorizers​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected Authorizers​(software.amazon.jsii.JsiiObjectRef objRef)  
    • Constructor Detail

      • Authorizers

        protected Authorizers​(software.amazon.jsii.JsiiObjectRef objRef)
      • Authorizers

        protected Authorizers​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • Authorizers

        @Stability(Experimental)
        public Authorizers()
    • Method Detail

      • cognito

        @Stability(Experimental)
        @NotNull
        public static CognitoAuthorizer cognito​(@NotNull
                                                CognitoAuthorizerProps props)
        (experimental) A Cognito User Pools authorizer.

        Parameters:
        props - This parameter is required.
      • custom

        @Stability(Experimental)
        @NotNull
        public static CustomAuthorizer custom​(@NotNull
                                              CustomAuthorizerProps props)
        (experimental) A custom authorizer.

        Parameters:
        props - This parameter is required.
      • iam

        @Stability(Experimental)
        @NotNull
        public static IamAuthorizer iam()
        (experimental) An IAM authorizer which uses AWS signature version 4 to authorize requests.
      • none

        @Stability(Experimental)
        @NotNull
        public static NoneAuthorizer none()
        (experimental) No authorizer.