# CfnTopicPolicyProps

Properties for defining a `CfnTopicPolicy`.

Extends: CfnTopicPolicyProps
Used as props by: CfnTopicPolicy

- Source: Generated code

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sns as sns } from 'aws-cdk-lib';

declare const policyDocument: any;
const cfnTopicPolicyProps: sns.CfnTopicPolicyProps = {
  policyDocument: policyDocument,
  topics: ['topics'],
};
```

## Properties

- `policyDocument`: any (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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)` function to specify an `[AWS::SNS::Topic](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html)` resource.
