How to retrieve AWS SNS Arn value

9,027

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.

Share:
9,027

Related videos on Youtube

shiv455
Author by

shiv455

Updated on September 18, 2022

Comments

  • shiv455
    shiv455 over 1 year

    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..