Skip to main content

aws-sns

Manage AWS SNS topics, subscriptions, and publish notifications.

소스 정보

저장소
ThinkfleetAI/thinkfleet-engine
최근 소스 활동
2026년 2월 1일 16:21
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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.
GitHub에서 보기