CfnTopicInlinePolicyMixinProps
- class aws_cdk.mixins_preview.aws_sns.mixins.CfnTopicInlinePolicyMixinProps(*, policy_document=None, topic_arn=None)
Bases:
objectProperties for CfnTopicInlinePolicyPropsMixin.
- Parameters:
policy_document (
Any) – A policy document that contains permissions to add to the specified Amazon topic.topic_arn (
Optional[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.mixins_preview.aws_sns import mixins as sns_mixins # policy_document: Any cfn_topic_inline_policy_mixin_props = sns_mixins.CfnTopicInlinePolicyMixinProps( policy_document=policy_document, topic_arn="topicArn" )
Attributes
- policy_document
A policy document that contains permissions to add to the specified Amazon topic.
- topic_arn
The Amazon Resource Name (ARN) of the topic to which you want to add the policy.