@Stability(value=Experimental) @Internal public static final class LambdaAuthorizerConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LambdaAuthorizerConfig
LambdaAuthorizerConfigsoftware.amazon.jsii.JsiiObject.InitializationModeLambdaAuthorizerConfig.Builder, LambdaAuthorizerConfig.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(LambdaAuthorizerConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by the
LambdaAuthorizerConfig.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IFunction |
getHandler()
(experimental) The authorizer lambda function.
|
Duration |
getResultsCacheTtl()
(experimental) How long the results are cached.
|
String |
getValidationRegex()
(experimental) A regular expression for validation of tokens before the Lambda function is called.
|
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(LambdaAuthorizerConfig.Builder builder)
LambdaAuthorizerConfig.Builder.public final IFunction getHandler()
LambdaAuthorizerConfigNote: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To do so with the AWS CLI, run the following:
aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction
getHandler in interface LambdaAuthorizerConfighttps://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-lambdaauthorizerconfig.htmlpublic final Duration getResultsCacheTtl()
LambdaAuthorizerConfigDisable caching by setting this to 0.
Default: Duration.minutes(5)
getResultsCacheTtl in interface LambdaAuthorizerConfigpublic final String getValidationRegex()
LambdaAuthorizerConfigDefault: - no regex filter will be applied.
getValidationRegex in interface LambdaAuthorizerConfig@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.