# CfnTopicInlinePolicyProps

Properties for defining a `CfnTopicInlinePolicy`.

Extends: CfnTopicInlinePolicyProps
Used as props by: CfnTopicInlinePolicy

- Source: Generated code
- Type last changed: v2.89.0 · 28 Jul 2023

## 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 cfnTopicInlinePolicyProps: sns.CfnTopicInlinePolicyProps = {
  policyDocument: policyDocument,
  topicArn: 'topicArn',
};
```

## Properties

- `policyDocument`: any (required) — A policy document that contains permissions to add to the specified Amazon topic.

- `topicArn`: string (required) — The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
