TopicPolicyProps

class aws_cdk.aws_sns.TopicPolicyProps(*, topics, policy_document=None)

Bases: object

Properties to associate SNS topics with a policy.

Parameters
  • topics (Sequence[ITopic]) – The set of topics this policy applies to.

  • policy_document (Optional[PolicyDocument]) – IAM policy document to apply to topic(s). Default: empty policy document

Attributes

policy_document

IAM policy document to apply to topic(s).

Default

empty policy document

Return type

Optional[PolicyDocument]

topics

The set of topics this policy applies to.

Return type

List[ITopic]