{{ define "home" -}} SQS Redriver

SQS Queues {{ if .prefix }} matching prefix: {{ .prefix }} {{ end}}

{{ range .rows }} {{ template "home-row" . }} {{ end }}
Having DLQs not allowing any source queue is a configuration anomaly. So is having a DLQ allowing a source queue and that source using another DLQ instead.
Queue name DLQ name
{{ end }} {{ define "home-row" }} {{ template "home-cell" (index . 0) }} {{ template "home-cell" (index . 1) }} {{ end }} {{ define "home-cell" }} {{ if .Message }}

{{ .Message }}

{{else if .Link }} {{ .Link.Text }} {{ else }} {{/* Bound queues: 3 named lists */}} {{ if eq (len .Links) 3 }} {{ if index .Links 0 }}

Bound queues

{{end }} {{ if index .Links 1 }}

Allowed source queues using another DLQ

{{end }} {{ if index .Links 2 }}

Allowed source queues not declaring a DLQ or with another prefix

{{ end}} {{ else }} {{ range .Links }} {{ end }} {{end}} {{ end }} {{ end }}