Builder
class Builder
Properties
Link copied to clipboard
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 a ttlOverride
key in its response.
Link copied to clipboard
The 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.
Link copied to clipboard
A regular expression for validation of tokens before the Lambda function is called.