@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:28.240Z") @Stability(value=Stable) public class SmsSubscription extends software.amazon.jsii.JsiiObject implements ITopicSubscription
Example:
Topic myTopic = new Topic(this, "Topic"); myTopic.addSubscription(new SmsSubscription("+15551231234"));
Modifier and Type | Class and Description |
---|---|
static class |
SmsSubscription.Builder
A fluent builder for
SmsSubscription . |
software.amazon.jsii.JsiiObject.InitializationMode
ITopicSubscription.Jsii$Default, ITopicSubscription.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
SmsSubscription(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SmsSubscription(software.amazon.jsii.JsiiObjectRef objRef) |
|
SmsSubscription(String phoneNumber) |
|
SmsSubscription(String phoneNumber,
SmsSubscriptionProps props) |
Modifier and Type | Method and Description |
---|---|
TopicSubscriptionConfig |
bind(ITopic _topic)
Returns a configuration used to subscribe to an SNS topic.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected SmsSubscription(software.amazon.jsii.JsiiObjectRef objRef)
protected SmsSubscription(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public SmsSubscription(@NotNull String phoneNumber, @Nullable SmsSubscriptionProps props)
phoneNumber
- This parameter is required.props
- @Stability(value=Stable) public SmsSubscription(@NotNull String phoneNumber)
phoneNumber
- This parameter is required.@Stability(value=Stable) @NotNull public TopicSubscriptionConfig bind(@NotNull ITopic _topic)
bind
in interface ITopicSubscription
_topic
- This parameter is required.Copyright © 2023. All rights reserved.