UNPKG

522 BTypeScriptView Raw
1import * as sns from '@aws-cdk/aws-sns';
2import { SubscriptionProps } from './subscription';
3/**
4 * Options for SMS subscriptions.
5 */
6export interface SmsSubscriptionProps extends SubscriptionProps {
7}
8/**
9 * Use an sms address as a subscription target
10 */
11export declare class SmsSubscription implements sns.ITopicSubscription {
12 private readonly phoneNumber;
13 private readonly props;
14 constructor(phoneNumber: string, props?: SmsSubscriptionProps);
15 bind(_topic: sns.ITopic): sns.TopicSubscriptionConfig;
16}