1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
2
Assuming that this is a REST API and a REQUEST type Lambda, the default cache key used for Lambda authorizers is the resource path.
On REQUEST type Lambda authorizers, you have the ability to define “identity sources” which are used to create the cache key.
When multiple identity sources are defined they are used in combination to create the cache key.
You can define the identity sources in the Lambda Event Payload (you can find this in the Edit Authorizer settings) in order to create a cache key based on the resource path as well as the value of the x-api-key header.
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 meses