@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.342Z") @Stability(value=Stable) public interface SnsTopicProps extends software.amazon.jsii.JsiiSerializable, TargetBaseProps
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()
The message to send to the topic.
|
getDeadLetterQueue, getMaxEventAge, getRetryAttempts@Stability(value=Stable) @Nullable default RuleTargetInput getMessage()
Default: the entire EventBridge event
@Stability(value=Stable) static SnsTopicProps.Builder builder()
builder in interface TargetBasePropsSnsTopicProps.Builder of SnsTopicPropsCopyright © 2022. All rights reserved.