AWSTemplateFormatVersion: "2010-09-09" Parameters: TopicName: Type: String Resources: Topic: Type: AWS::SNS::Topic Properties: TopicName: !Ref TopicName Outputs: TopicArn: Value: !Ref Topic Export: Name: !Sub "${AWS::StackName}-TopicArn"