Class CustomAuthorizer
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.aws.awsprototypingsdk.openapigateway.Authorizer
-
- software.aws.awsprototypingsdk.openapigateway.CustomAuthorizer
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-15T09:33:12.689Z") @Stability(Experimental) public class CustomAuthorizer extends Authorizer
(experimental) An authorizer that uses a lambda function to authorize requests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomAuthorizer.Builder(experimental) A fluent builder forCustomAuthorizer.
-
Constructor Summary
Constructors Modifier Constructor Description protectedCustomAuthorizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedCustomAuthorizer(software.amazon.jsii.JsiiObjectRef objRef)CustomAuthorizer(CustomAuthorizerProps props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NumbergetAuthorizerResultTtlInSeconds()(experimental) The number of seconds during which the authorizer result is cached.software.amazon.awscdk.services.lambda.IFunctiongetFunction()(experimental) The lambda function used to authorize requests.StringgetIdentitySource()(experimental) The source of the identity in an incoming request.CustomAuthorizerTypegetType()(experimental) The type of custom authorizer.-
Methods inherited from class software.aws.awsprototypingsdk.openapigateway.Authorizer
getAuthorizationScopes, getAuthorizationType, getAuthorizerId
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
CustomAuthorizer
protected CustomAuthorizer(software.amazon.jsii.JsiiObjectRef objRef)
-
CustomAuthorizer
protected CustomAuthorizer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
CustomAuthorizer
@Stability(Experimental) public CustomAuthorizer(@NotNull CustomAuthorizerProps props)- Parameters:
props- This parameter is required.
-
-
Method Detail
-
getAuthorizerResultTtlInSeconds
@Stability(Experimental) @NotNull public Number getAuthorizerResultTtlInSeconds()
(experimental) The number of seconds during which the authorizer result is cached.
-
getFunction
@Stability(Experimental) @NotNull public software.amazon.awscdk.services.lambda.IFunction getFunction()
(experimental) The lambda function used to authorize requests.
-
getIdentitySource
@Stability(Experimental) @NotNull public String getIdentitySource()
(experimental) The source of the identity in an incoming request.
-
getType
@Stability(Experimental) @NotNull public CustomAuthorizerType getType()
(experimental) The type of custom authorizer.
-
-