TopicPolicyArgs

data class TopicPolicyArgs(val policyDocument: Output<Any>? = null, val topics: Output<List<String>>? = null) : ConvertibleToJava<TopicPolicyArgs>

The `AWS::SNS::TopicPolicy` resource associates SNS topics with a policy. For an example snippet, see Declaring an policy in the User Guide.

Constructors

Link copied to clipboard
constructor(policyDocument: Output<Any>? = null, topics: Output<List<String>>? = null)

Properties

Link copied to clipboard
val policyDocument: Output<Any>? = null

A policy document that contains permissions to add to the specified SNS topics. Search the CloudFormation User Guide for AWS::SNS::TopicPolicy for more information about the expected schema for this property.

Link copied to clipboard
val topics: Output<List<String>>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): TopicPolicyArgs