CfnTopicInlinePolicyMixinProps

class aws_cdk.mixins_preview.aws_sns.mixins.CfnTopicInlinePolicyMixinProps(*, policy_document=None, topic_arn=None)

Bases: object

Properties 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html#cfn-sns-topicinlinepolicy-policydocument

topic_arn

The Amazon Resource Name (ARN) of the topic to which you want to add the policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html#cfn-sns-topicinlinepolicy-topicarn