TopicAttributes
- class aws_cdk.aws_sns.TopicAttributes(*, topic_arn, content_based_deduplication=None)
Bases:
object
Represents an SNS topic defined outside of this stack.
- Parameters:
topic_arn (
str
) – The ARN of the SNS topic.content_based_deduplication (
Optional
[bool
]) – Whether content-based deduplication is enabled. Only applicable for FIFO topics. Default: false
- 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 topic_attributes = sns.TopicAttributes( topic_arn="topicArn", # the properties below are optional content_based_deduplication=False )
Attributes
- content_based_deduplication
Whether content-based deduplication is enabled.
Only applicable for FIFO topics.
- Default:
false
- topic_arn
The ARN of the SNS topic.