Integrazione con AWS CloudFront - Configurazione avanzata
If required, It is possible to modify the AWS CloudFront integration behaviour by editing the crowdhandler-viewerRequest Lambda function installed in your AWS account.
- Accedi al servizio AWS Lambda (us-east-1)
- Seleziona funzione crowdhandler-viewerRequest
- È possibile modificare i seguenti parametri di configurazione.
failTrust (booleano) (impostazione predefinita: true)
Se il valore è falso, un utente che non riesca a effettuare il check-in tramite l'API di CrowdHandler verrà indirizzato a una sala d'attesa di sicurezza fino a quando CrowdHandler non sarà in grado di decidere come gestirlo.
Se vero, gli utenti che non effettuano il check-in tramite l'API di CrowdHandler saranno considerati affidabili.
safetyNetSlug (stringa) (valore predefinito: non definito)
Se definito e se failTrust è impostato su false, questo slug della sala d'attesa verrà utilizzato come sala di riserva.
whitelabel (boolean) (default true) If whitelabel is set to true, users will be queued on the domain CrowdHandler is protecting. For example, if CrowdHandler has been set up to protect www.example.com, users will be queued on the www.example.com/ch/ path. The /ch/ route does not need to exist in your application. If whitelabel is set to false, users will be queued on CrowdHandler's wait.crowdhandler.com domain Read more about whitelabel waiting rooms here.
Una volta apportata la modifica, clicca su “Deploy” e poi invia il codice aggiornato a Lambda@Edge tramite il menu a tendina “Azioni”.
