--- layout: "aws" page_title: "AWS: sns_topic_policy" sidebar_current: "docs-aws-resource-sns-topic-policy" description: |- Provides an SNS topic policy resource. --- # aws\_sns\_topic\_policy Provides an SNS topic policy resource ## Example Usage ```hcl resource "aws_sns_topic" "test" { name = "my-topic-with-policy" } resource "aws_sns_topic_policy" "custom" { arn = "${aws_sns_topic.test.arn}" policy = <