@Stability(value=Stable) @Internal public static final class LambdaAuthorizerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LambdaAuthorizerProps
LambdaAuthorizerPropssoftware.amazon.jsii.JsiiObject.InitializationModeLambdaAuthorizerProps.Builder, LambdaAuthorizerProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(LambdaAuthorizerProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
LambdaAuthorizerProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IRole |
getAssumeRole()
An optional IAM role for APIGateway to assume before calling the Lambda-based authorizer.
|
String |
getAuthorizerName()
An optional human friendly name for the authorizer.
|
IFunction |
getHandler()
The handler for the authorizer lambda function.
|
Duration |
getResultsCacheTtl()
How long APIGateway should cache the results.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(LambdaAuthorizerProps.Builder builder)
LambdaAuthorizerProps.Builder.public final IFunction getHandler()
LambdaAuthorizerPropsThe handler must follow a very specific protocol on the input it receives and the output it needs to produce. API Gateway has documented the handler's input specification {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-lambda-authorizer-input.html | here} and output specification {@link https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-lambda-authorizer-output.html | here}.
getHandler in interface LambdaAuthorizerPropspublic final IRole getAssumeRole()
LambdaAuthorizerPropsThe IAM role must be assumable by 'apigateway.amazonaws.com'.
Default: - A resource policy is added to the Lambda function allowing apigateway.amazonaws.com to invoke the function.
getAssumeRole in interface LambdaAuthorizerPropspublic final String getAuthorizerName()
LambdaAuthorizerPropsNote that, this is not the primary identifier of the authorizer.
Default: - the unique construcrt ID
getAuthorizerName in interface LambdaAuthorizerPropspublic final Duration getResultsCacheTtl()
LambdaAuthorizerPropsMax 1 hour. Disable caching by setting this to 0.
Default: Duration.minutes(5)
getResultsCacheTtl in interface LambdaAuthorizerProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.