Interface TopicProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TopicProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.202Z")
@Stability(Stable)
public interface TopicProps
extends software.amazon.jsii.JsiiSerializable
Properties for a new SNS topic.
Example:
Topic topic = Topic.Builder.create(this, "Topic") .displayName("Customer subscription topic") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTopicProps
static final class
An implementation forTopicProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic TopicProps.Builder
builder()
default Boolean
Enables content-based deduplication for FIFO topics.default String
A developer-defined string that can be used to identify this SNS topic.default Boolean
getFifo()
Set to true to create a FIFO topic.default IKey
A KMS Key, either managed by this CDK app, or imported.default String
A name for the topic.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContentBasedDeduplication
Enables content-based deduplication for FIFO topics.Default: None
-
getDisplayName
A developer-defined string that can be used to identify this SNS topic.Default: None
-
getFifo
Set to true to create a FIFO topic.Default: None
-
getMasterKey
A KMS Key, either managed by this CDK app, or imported.Default: None
-
getTopicName
A name for the topic.If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the topic name. For more information, see Name Type.
Default: Generated name
-
builder
- Returns:
- a
TopicProps.Builder
ofTopicProps
-