This template creates an Amazon SNS topic with two Amazon SQS queue subscriptions. The topic is named 'SampleTopic' and the subscriptions are configured to use the 'sqs' protocol. The endpoints for the subscriptions are obtained using the 'Fn::GetAtt' function to retrieve the ARNs of the 'MyQueue1' and 'MyQueue' queues.

CloudFormation Template