Class SnsTopic.Builder
java.lang.Object
software.amazon.awscdk.services.events.targets.SnsTopic.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SnsTopic>
- Enclosing class:
SnsTopic
@Stability(Stable)
public static final class SnsTopic.Builder
extends Object
implements software.amazon.jsii.Builder<SnsTopic>
A fluent builder for
SnsTopic
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static SnsTopic.Builder
message
(RuleTargetInput message) The message to send to the topic.
-
Method Details
-
create
- Parameters:
topic
- This parameter is required.- Returns:
- a new instance of
SnsTopic.Builder
.
-
message
The message to send to the topic.Default: the entire EventBridge event
- Parameters:
message
- The message to send to the topic. This parameter is required.- Returns:
this
-
build
-