Source type
AWS SNS Source Configuration
AWS SNS sources receive HTTP/S topic notifications, verify SNS RSA signatures, and can answer subscription confirmations.
AWS SNS configuration
Create a AWS SNS source, keep POST and PUT and PATCH and DELETE enabled, and provide the configured Optional Topic ARN, Optional certificate/public key through API values for provider signature. FastHook uses these settings to validate each AWS SNS delivery before it enters the routing workflow.
Source TypeAWS_SNS
Allowed methodsPOST, PUT, PATCH, DELETE
AuthenticationProvider signature
Credential fieldsOptional Topic ARN, Optional certificate/public key through API
{
"type": "AWS_SNS",
"config": {
"auth_type": "PROVIDER_SIGNATURE",
"auth": {
"provider": "AWS_SNS",
"topic_arn": "optional-topic-arn"
},
"allowed_http_methods": ["POST","PUT","PATCH","DELETE"]
}
}Subscription confirmation before notifications
- AWS SNS sends a SubscriptionConfirmation message before normal Notification messages.
- FastHook verifies the SNS message signature and can auto-confirm the subscription when configured.
- After confirmation, SNS sends signed Notification messages to the same Source URL.
AWS SNS request contract
FastHook builds the canonical SNS string and verifies the RSA PKCS#1 signature using the SNS certificate or configured public key.
Special response: Subscription confirmation payloads can be confirmed automatically when API config enables it.
AWS SNS headers
Preserve Signature, SigningCertURL, SignatureVersion, SubscribeURL when sending AWS SNS test deliveries. FastHook evaluates this request context before accepting the payload, so missing or modified values remain visible as rejected requests instead of routed events.
SignatureSNS message signature field in the JSON body.
SigningCertURLSNS certificate URL used to fetch the public key when not configured inline.
SignatureVersionSelects SHA-1 or SHA-256 RSA verification.
SubscribeURLUsed for subscription confirmation when auto-confirm is enabled by API config.
AWS SNS setup
- Subscribe the FastHook Source URL as an HTTP/S endpoint for the SNS topic.
- Optionally configure Topic ARN so FastHook rejects messages from unexpected topics.
- Use the API for advanced options such as inline certificate or auto-confirm subscription.