(self)
return self.sns.create_topic(Name=self.topic_name).arn
Get or create the SNS topic.
Get or create the SNS topic.
Get or create the SNS topic .
def get_sns_topic(self):
        """
        Get or create the SNS topic.
        """
        # Creating a topic is idempotent, so if it already exists
        # then we will just get the topic returned.
        return self.sns.create_topic(Name=self.topic_name).arn
def get_sns_topic ( self ) : # Creating a topic is idempotent, so if it already exists # then we will just get the topic returned. return self . sns . create_topic ( Name = self . topic_name ) . arn