Class LambdaAuthorizerConfig.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.LambdaAuthorizerConfig.Jsii$Proxy
- All Implemented Interfaces:
LambdaAuthorizerConfig
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- LambdaAuthorizerConfig
@Stability(Experimental)
@Internal
public static final class LambdaAuthorizerConfig.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements LambdaAuthorizerConfig
An implementation for
LambdaAuthorizerConfig
-
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.LambdaAuthorizerConfig
LambdaAuthorizerConfig.Builder, LambdaAuthorizerConfig.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(LambdaAuthorizerConfig.Builder builder) Constructor that initializes the object based on literal property values passed by theLambdaAuthorizerConfig.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 IFunction
(experimental) The authorizer lambda function.final Duration
(experimental) How long the results are cached.final String
(experimental) 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 theLambdaAuthorizerConfig.Builder
.
-
-
Method Details
-
getHandler
Description copied from interface:LambdaAuthorizerConfig
(experimental) The authorizer lambda function.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:
getHandler
in interfaceLambdaAuthorizerConfig
- See Also:
-
getResultsCacheTtl
Description copied from interface:LambdaAuthorizerConfig
(experimental) How long the results are cached.Disable caching by setting this to 0.
Default: Duration.minutes(5)
- Specified by:
getResultsCacheTtl
in interfaceLambdaAuthorizerConfig
-
getValidationRegex
Description copied from interface:LambdaAuthorizerConfig
(experimental) A regular expression for validation of tokens before the Lambda function is called.Default: - no regex filter will be applied.
- Specified by:
getValidationRegex
in interfaceLambdaAuthorizerConfig
-
$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()
-