CfnTopicInlinePolicyProps
- class aws_cdk.aws_sns.CfnTopicInlinePolicyProps(*, policy_document, topic_arn)
Bases:
object
Properties for defining a
CfnTopicInlinePolicy
.- Parameters:
policy_document (
Any
) – A policy document that contains permissions to add to the specified Amazon SNS topic.topic_arn (
str
) – The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_sns as sns # policy_document: Any cfn_topic_inline_policy_props = sns.CfnTopicInlinePolicyProps( policy_document=policy_document, topic_arn="topicArn" )
Attributes
- policy_document
A policy document that contains permissions to add to the specified Amazon SNS topic.
- topic_arn
The Amazon Resource Name (ARN) of the topic to which you want to add the policy.