# DependsOn for Functions?

**URL:** <https://forum.serverless.com/t/dependson-for-functions/2254>\
**Category:** Serverless Framework\
**Created:** [July 9, 2017, 5:58pm UTC](https://forum.serverless.com/t/dependson-for-functions/2254 "2017-07-09T17:58:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ProbablePrime](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/probableprime/32/785_2.png) [@ProbablePrime](https://forum.serverless.com/u/ProbablePrime)\
**Post date:** [July 11, 2017, 12:55pm UTC](https://forum.serverless.com/t/dependson-for-functions/2254/6 "2017-07-11T12:55:34Z")

</div>

Ahh, that seems problematic. In the JS SDK i can only publish to a topic via ARN.

Ok thank you for the full explanation, i’ll use the join for now :).

I’ll also see what resources in the AWS space are available to help out here, from an outside perspective i would assume `GetAtt` should be able to get an Arn if the resource has one.

I figured this out using `Ref` [https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html) which will get you the sns topic ARN 🙂

Thank you!

---

_[View the full topic](https://forum.serverless.com/t/dependson-for-functions/2254)._
