Interface CfnTopicProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTopicProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:24.013Z") @Stability(Stable) public interface CfnTopicProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnTopic.

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.*;
 Object archivePolicy;
 Object dataProtectionPolicy;
 CfnTopicProps cfnTopicProps = CfnTopicProps.builder()
         .archivePolicy(archivePolicy)
         .contentBasedDeduplication(false)
         .dataProtectionPolicy(dataProtectionPolicy)
         .deliveryStatusLogging(List.of(LoggingConfigProperty.builder()
                 .protocol("protocol")
                 // the properties below are optional
                 .failureFeedbackRoleArn("failureFeedbackRoleArn")
                 .successFeedbackRoleArn("successFeedbackRoleArn")
                 .successFeedbackSampleRate("successFeedbackSampleRate")
                 .build()))
         .displayName("displayName")
         .fifoTopic(false)
         .kmsMasterKeyId("kmsMasterKeyId")
         .signatureVersion("signatureVersion")
         .subscription(List.of(SubscriptionProperty.builder()
                 .endpoint("endpoint")
                 .protocol("protocol")
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .topicName("topicName")
         .tracingConfig("tracingConfig")
         .build();
 

See Also: