Class CfnApi.LambdaAuthorizerConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnApi.LambdaAuthorizerConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnApi.LambdaAuthorizerConfigProperty
CfnApi.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.CfnApi.LambdaAuthorizerConfigProperty
CfnApi.LambdaAuthorizerConfigProperty.Builder, CfnApi.LambdaAuthorizerConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnApi.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 Amazon Resource Name (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 theCfnApi.LambdaAuthorizerConfigProperty.Builder.
-
-
Method Details
-
getAuthorizerUri
Description copied from interface:CfnApi.LambdaAuthorizerConfigPropertyThe Amazon Resource Name (ARN) of the Lambda function to be called for authorization.This can be a standard Lambda ARN, a version ARN (
.../v3), or an 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 use the AWS Command Line Interface ( 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 interfaceCfnApi.LambdaAuthorizerConfigProperty- See Also:
-
getAuthorizerResultTtlInSeconds
Description copied from interface:CfnApi.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 interfaceCfnApi.LambdaAuthorizerConfigProperty- See Also:
-
getIdentityValidationExpression
Description copied from interface:CfnApi.LambdaAuthorizerConfigPropertyA regular expression for validation of tokens before the Lambda function is called.- Specified by:
getIdentityValidationExpressionin interfaceCfnApi.LambdaAuthorizerConfigProperty- See Also:
-
$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()
-