Interface SnsTopicProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, TargetBaseProps
All Known Implementing Classes:
SnsTopicProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:07.492Z") @Stability(Stable) public interface SnsTopicProps extends software.amazon.jsii.JsiiSerializable, TargetBaseProps
Customize the SNS Topic Event Target.

Example:

 Rule onCommitRule;
 Topic topic;
 onCommitRule.addTarget(SnsTopic.Builder.create(topic)
         .message(RuleTargetInput.fromText(String.format("A commit was pushed to the repository %s on branch %s", ReferenceEvent.getRepositoryName(), ReferenceEvent.getReferenceName())))
         .build());