The JMESPath expression used to extract the idempotency key from the event.
''
The number of seconds the idempotency key is valid.
3600 (1 hour)
The hash function used to generate the idempotency key.
Options for parsing JMESPath expressions.
By default, you can use any of the JMESPath built-in functions as well as the
custom functions provided
by the @aws-lambda-powertools/jmespath
package.
Optional
lambdaThe lambda context object.
The maximum number of items to store in the local cache.
1000
Optional
payloadThe JMESPath expression used to extract the payload to validate.
Throw an error if the idempotency key is not found in the event. In some cases, you may want to allow the request to continue without idempotency. If set to false and idempotency key is not found, the request will continue without idempotency.
false
Use the local cache to store idempotency keys.
LRUCache
Configuration for the idempotency feature.