Interface TopicAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TopicAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:24.049Z")
@Stability(Stable)
public interface TopicAttributes
extends software.amazon.jsii.JsiiSerializable
Represents an SNS topic defined outside of this stack.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sns.*; TopicAttributes topicAttributes = TopicAttributes.builder() .topicArn("topicArn") // the properties below are optional .contentBasedDeduplication(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTopicAttributes
static final class
An implementation forTopicAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic TopicAttributes.Builder
builder()
default Boolean
Whether content-based deduplication is enabled.The ARN of the SNS topic.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTopicArn
The ARN of the SNS topic. -
getContentBasedDeduplication
Whether content-based deduplication is enabled.Only applicable for FIFO topics.
Default: false
-
builder
- Returns:
- a
TopicAttributes.Builder
ofTopicAttributes
-