10

Im planning to use nested stack to create (SNS,ELB and application ) stacks.so now once the sns is created i have to pass arn value to ELB and application json(cloud formation templates)so what is the resource name to get SNS arn once its created

ex:

"Fn::GetAtt" : [ "MyLB" , "DNSName" ]

similarly im looking for SNS Arn..

dmourati
  • 24,720
  • 2
  • 40
  • 69
shiv455
  • 213
  • 2
  • 7

1 Answers1

9

In your CloudFormation template, if you simply reference your SNS topic, then you'll get the ARN.

For example:

{ "Ref": "MySnsTopic" }

So you can use that as input to your nested CloudFormation template.

Matt Houser
  • 9,709
  • 1
  • 26
  • 25