@Stability(value=Stable) @Internal public static final class CfnGraphQLApi.LambdaAuthorizerConfigProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnGraphQLApi.LambdaAuthorizerConfigProperty
CfnGraphQLApi.LambdaAuthorizerConfigPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnGraphQLApi.LambdaAuthorizerConfigProperty.Builder, CfnGraphQLApi.LambdaAuthorizerConfigProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnGraphQLApi.LambdaAuthorizerConfigProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnGraphQLApi.AdditionalAuthenticationProviderProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getAuthorizerResultTtlInSeconds()
The number of seconds a response should be cached for.
|
String |
getAuthorizerUri()
The ARN of the Lambda function to be called for authorization.
|
String |
getIdentityValidationExpression()
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(CfnGraphQLApi.LambdaAuthorizerConfigProperty.Builder builder)
CfnGraphQLApi.AdditionalAuthenticationProviderProperty.Builder.public final Number getAuthorizerResultTtlInSeconds()
CfnGraphQLApi.LambdaAuthorizerConfigProperty
The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses.
getAuthorizerResultTtlInSeconds in interface CfnGraphQLApi.LambdaAuthorizerConfigPropertypublic final String getAuthorizerUri()
CfnGraphQLApi.LambdaAuthorizerConfigProperty
This may be a standard Lambda ARN, a version ARN ( .../v3 ) or alias ARN.
Note : 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
getAuthorizerUri in interface CfnGraphQLApi.LambdaAuthorizerConfigPropertypublic final String getIdentityValidationExpression()
CfnGraphQLApi.LambdaAuthorizerConfigPropertygetIdentityValidationExpression in interface CfnGraphQLApi.LambdaAuthorizerConfigProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.