SNS Input
Consumes AWS SNS messages via an SQS subscription.
How it works
- SNS topic is subscribed to an SQS queue.
- Skipprd polls the SQS queue and extracts the
Messagefield from the SNS envelope. - Messages are deleted after successful ingest.
- Namespace convention:
sns.{topic_name}.
Configuration
yaml
data_sources:
source:
Sns:
topic_arn: "arn:aws:sns:us-east-1:123456:my-topic"
sqs_queue_url: "https://sqs.us-east-1.amazonaws.com/123456/my-sns-queue"
region: us-east-1Configuration variables
| Variable | Default | Description |
|---|---|---|
topic_arn | (required) | SNS topic ARN |
sqs_queue_url | (required) | SQS queue URL subscribed to the topic |
region | AWS region | |
endpoint_url | Custom endpoint (e.g. LocalStack) | |
format | json | Data format |
Authentication
Authentication uses the AWS default credential chain.
AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEY- IAM roles, instance profiles, or task roles
- AWS SSO or shared config profiles
Troubleshooting
| Symptom | Fix |
|---|---|
| no messages arriving | Verify the SNS topic is subscribed to the target SQS queue and that the queue policy allows delivery. |
| AccessDenied | Check the AWS credential chain and access to the queue and topic resources. |
