sns
AWS SNS notification service for pub/sub messaging. Use when creating topics, managing subscriptions, configuring message filtering, sending notifications, or setting up mobile push.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
AWS SNS notification service for pub/sub messaging. Use when creating topics, managing subscriptions, configuring message filtering, sending notifications, or setting up mobile push.
How to use
Zainstaluj skill SNS w swoim agencje AWS — upewnij się, że masz dostęp do AWS CLI i skonfigurowane poświadczenia AWS.
Utwórz nowy temat SNS za pomocą polecenia create-topic, podając nazwę tematu. Dla standardowego tematu użyj nazwy bez rozszerzenia, dla FIFO dodaj .fifo do nazwy i ustaw atrybut FifoTopic=true.
Zdobądź ARN (Amazon Resource Name) utworzonego tematu — będzie potrzebny do subskrypcji i publikowania wiadomości.
Dodaj subskrybentów do tematu za pomocą subscribe, wybierając protokół (Lambda, SQS, HTTP/HTTPS, email, SMS lub Application dla push notyfikacji) i podając endpoint — np. ARN funkcji Lambda lub URL webhooka.
Opcjonalnie skonfiguruj filtrowanie wiadomości, aby określone subskrypcje otrzymywały tylko wiadomości spełniające warunki atrybutów.
Publikuj wiadomości do tematu — subskrybenci otrzymają je zgodnie z wybranym protokołem i ustawionymi filtrami.