@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:49.041Z") @Stability(value=Experimental) public interface SnsTopicProps extends software.amazon.jsii.JsiiSerializable
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());
| Modifier and Type | Interface and Description |
|---|---|
static class |
SnsTopicProps.Builder
A builder for
SnsTopicProps |
static class |
SnsTopicProps.Jsii$Proxy
An implementation for
SnsTopicProps |
| Modifier and Type | Method and Description |
|---|---|
static SnsTopicProps.Builder |
builder() |
default RuleTargetInput |
getMessage()
(experimental) The message to send to the topic.
|
@Stability(value=Experimental) @Nullable default RuleTargetInput getMessage()
Default: the entire EventBridge event
@Stability(value=Experimental) static SnsTopicProps.Builder builder()
SnsTopicProps.Builder of SnsTopicPropsCopyright © 2022. All rights reserved.