AWS::SNS::TopicInlinePolicyThe `AWS::SNS::TopicInlinePolicy` resource associates one Amazon topic with one policy.
import { CfnTopicInlinePolicy } from 'aws-cdk-lib/aws-sns';Or use the module namespace:
import * as sns from 'aws-cdk-lib/aws-sns';
// sns.CfnTopicInlinePolicyConfiguration passed to the constructor as CfnTopicInlinePolicyProps.
policyDocumentRequiredanyA policy document that contains permissions to add to the specified Amazon topic.
topicArnRequiredstringThe Amazon Resource Name (ARN) of the topic to which you want to add the policy.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon SNS on one page. HD quality, print-friendly.
Download Free Infographicaws-snsAWS::SNS::TopicInlinePolicy