@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.260Z") @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.InitializationModeITopicSubscription.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, jsiiStaticSetprotected 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 © 2022. All rights reserved.