import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::SNS::TopicPolicy</code> resource associates Amazon SNS topics with a policy. For an example snippet, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-sns-policy">Declaring an Amazon SNS policy</a> in the <em>AWS CloudFormation User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.html">the AWS Docs</a>
*/
export function topicPolicy(topicPolicyProps) {
    return new AwsResource('AWS::SNS::TopicPolicy', topicPolicyProps, { Id: 'Id' });
}
