Skip to main content

aws-sns

Manage AWS SNS topics, subscriptions, and publish notifications.

Quellinformationen

Repository
ThinkfleetAI/thinkfleet-engine
Letzte Quellaktivität
1. Februar 2026 um 16:21
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
aws-sns
description
Manage AWS SNS topics, subscriptions, and publish notifications.
metadata
{"thinkfleetbot":{"emoji":"🔔","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# AWS SNS Manage SNS topics and publish notifications. ## List topics ```bash aws sns list-topics --query 'Topics[].TopicArn' --output table ``` ## Get topic attributes ```bash aws sns get-topic-attributes --topic-arn "$SNS_TOPIC_ARN" | jq '.Attributes | {DisplayName, SubscriptionsConfirmed, SubscriptionsPending}' ``` ## List subscriptions ```bash aws sns list-subscriptions-by-topic --topic-arn "$SNS_TOPIC_ARN" --query 'Subscriptions[].{Endpoint:Endpoint,Protocol:Protocol,Status:SubscriptionArn}' --output table ``` ## Publish message ```bash aws sns publish --topic-arn "$SNS_TOPIC_ARN" \ --subject "Alert" \ --message "Deployment complete for v1.2.3" | jq '{MessageId}' ``` ## Publish JSON message (protocol-specific) ```bash aws sns publish --topic-arn "$SNS_TOPIC_ARN" \ --message-structure json \ --message '{"default":"Alert","email":"Email body","sms":"SMS text"}' | jq '{MessageId}' ``` ## Subscribe endpoint ```bash aws sns subscribe --topic-arn "$SNS_TOPIC_ARN" \ --protocol email --notification-endpoint user@example.com | jq '{SubscriptionArn}' ``` ## Notes - Email subscriptions require confirmation by the recipient. - Confirm before publishing or subscribing endpoints.
Auf GitHub ansehen