While trying to create an SNS subscription, after choosing a topic, all protocols except SQS disappear

0

I am attempting to create an SNS subscription to a topic I have just created. In the dropdown next to protocols, I see all of them before choosing a topic. But after I choose the topic, all protocols except SNS disappear from the dropdown. I tried deleting the topic and creating a new one but the same issue persists.

asked 2 years ago288 views
1 Answer
0

As per your description, this disappearance of protocols can take place only if the topic selected is a Fifo topic [1]. Standard topics are designed to support all the below mentioned protocols while Fifo topic only allows SQS Fifo queues as subscription.

    • http – delivery of JSON-encoded message via HTTP POST
    • https – delivery of JSON-encoded message via HTTPS POST
      
    • email – delivery of message via SMTP
      
    • email-json – delivery of JSON-encoded message via SMTP
      
    • sms – delivery of message via SMS
      
    • sqs – delivery of JSON-encoded message to an Amazon SQS queue
      
    • application – delivery of JSON-encoded message to an EndpointArn for a mobile app and device
      
    • lambda – delivery of JSON-encoded message to an AWS Lambda function
      
    • firehose – delivery of JSON-encoded message to an Amazon Kinesis Data Firehose delivery stream.
      

In order to troubleshoot this, please select standard topic on the top while creating a topic from SNS console [2].

References: 1] https://docs.aws.amazon.com/sns/latest/dg/fifo-message-delivery.html 2] https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html 3] https://docs.aws.amazon.com/sns/latest/dg/sns-create-topic.html

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions