---
type: resource-type
title: TopicPolicy
description: aws resource type AWS::SNS::TopicPolicy
name: TopicPolicy
lexicon: aws
resource_type: AWS::SNS::TopicPolicy
---
`AWS::SNS::TopicPolicy`, a resource type of the aws lexicon.

## Properties

- `PolicyDocument` (`PolicyDocument`, required): A policy document that contains permissions to add to the specified SNS topics.
- `Topics` (`string[]`, required): The Amazon Resource Names (ARN) of the topics to which you want to add the policy. You can use the ``Ref`` function to specify an ``AWS::SNS::Topic`` resource.
- `Id` (`string`, optional)

## Attributes

- `Id`
