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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.CfnGraphQLApi.LambdaAuthorizerConfigProperty
CfnGraphQLApi.LambdaAuthorizerConfigProperty.Builder, CfnGraphQLApi.LambdaAuthorizerConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnGraphQLApi.LambdaAuthorizerConfigProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal NumberThe number of seconds a response should be cached for.final StringThe ARN of the Lambda function to be called for authorization.final StringA regular expression for validation of tokens before the Lambda function is called.final inthashCode()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.LambdaAuthorizerConfigPropertyThe 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 attlOverridekey in its response.- Specified by:
getAuthorizerResultTtlInSecondsin interfaceCfnGraphQLApi.LambdaAuthorizerConfigProperty
-
getAuthorizerUri
Description copied from interface:CfnGraphQLApi.LambdaAuthorizerConfigPropertyThe 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:
getAuthorizerUriin interfaceCfnGraphQLApi.LambdaAuthorizerConfigProperty
-
getIdentityValidationExpression
Description copied from interface:CfnGraphQLApi.LambdaAuthorizerConfigPropertyA regular expression for validation of tokens before the Lambda function is called.- Specified by:
getIdentityValidationExpressionin interfaceCfnGraphQLApi.LambdaAuthorizerConfigProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-