OptionaleventAn optional JMESPath expression to extract the idempotency key from the event record
OptionalexpiresThe number of seconds to wait before a record is expired, defaults to 3600 (1 hour)
OptionalhashFunction to use for calculating hashes, defaults to md5
OptionaljmesCustom JMESPath functions to use when parsing the JMESPath expressions
OptionallambdaAWS Lambda Context object containing information about the current invocation, function, and execution environment
OptionalmaxNumber of records to keep in the local cache, defaults to 256
OptionalpayloadAn optional JMESPath expression to extract the payload to be validated from the event record
OptionalresponseA hook that runs when an idempotent request is made
OptionalthrowThrow an error if no idempotency key was found in the request, defaults to false
OptionaluseWheter to locally cache idempotency results, defaults to false
Idempotency configuration options