Generates a deterministic listener rule priority based on app name and environment. Priority range: 1-50000 (max supported by ALB).
Application name
Deployment environment
A number between 1 and 50000
const priority = generateListenerPriority('ZarCore', 'staging');// Returns same value every time for the same inputs Copy
const priority = generateListenerPriority('ZarCore', 'staging');// Returns same value every time for the same inputs
Generates a deterministic listener rule priority based on app name and environment. Priority range: 1-50000 (max supported by ALB).