Class CfnGraphQLApi.LambdaAuthorizerConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGraphQLApi.LambdaAuthorizerConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGraphQLApi.LambdaAuthorizerConfigProperty
CfnGraphQLApi.LambdaAuthorizerConfigProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty
CfnGraphQLApi.LambdaAuthorizerConfigProperty.Builder, CfnGraphQLApi.LambdaAuthorizerConfigProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnGraphQLApi.LambdaAuthorizerConfigProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
The number of seconds a response should be cached for.final String
The ARN of the Lambda function to be called for authorization.final String
A regular expression for validation of tokens before the Lambda function is called.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnGraphQLApi.LambdaAuthorizerConfigProperty.Builder
.
-
-
Method Details
-
getAuthorizerResultTtlInSeconds
Description copied from interface:CfnGraphQLApi.LambdaAuthorizerConfigProperty
The number of seconds a response should be cached for.The default is 0 seconds, which disables caching. If you don't specify a value for
authorizerResultTtlInSeconds
, the default value is used. The maximum value is one hour (3600 seconds). The Lambda function can override this by returning attlOverride
key in its response.- Specified by:
getAuthorizerResultTtlInSeconds
in interfaceCfnGraphQLApi.LambdaAuthorizerConfigProperty
-
getAuthorizerUri
Description copied from interface:CfnGraphQLApi.LambdaAuthorizerConfigProperty
The ARN of the Lambda function to be called for authorization.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
- Specified by:
getAuthorizerUri
in interfaceCfnGraphQLApi.LambdaAuthorizerConfigProperty
-
getIdentityValidationExpression
Description copied from interface:CfnGraphQLApi.LambdaAuthorizerConfigProperty
A regular expression for validation of tokens before the Lambda function is called.- Specified by:
getIdentityValidationExpression
in interfaceCfnGraphQLApi.LambdaAuthorizerConfigProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-