OptionaleventKeyJmesPath?: stringAn optional JMESPath expression to extract the idempotency key from the event record
OptionalexpiresAfterSeconds?: numberThe number of seconds to wait before a record is expired, defaults to 3600 (1 hour)
OptionalhashFunction?: stringFunction to use for calculating hashes, defaults to md5
OptionaljmesPathOptions?: FunctionsCustom JMESPath functions to use when parsing the JMESPath expressions
OptionallambdaContext?: ContextAWS Lambda Context object containing information about the current invocation, function, and execution environment
OptionalmaxLocalCacheSize?: numberNumber of records to keep in the local cache, defaults to 256
OptionalpayloadValidationJmesPath?: stringAn optional JMESPath expression to extract the payload to be validated from the event record
OptionalresponseHook?: ResponseHookA hook that runs when an idempotent request is made
OptionalthrowOnNoIdempotencyKey?: booleanThrow an error if no idempotency key was found in the request, defaults to false
OptionaluseLocalCache?: booleanWheter to locally cache idempotency results, defaults to false
Idempotency configuration options