@cdkx/aws-sns-subscriptions
Version:
AWS SNS extended subscriptions
19 lines (18 loc) • 559 B
TypeScript
/// <amd-module name="@cdkx/aws-sns-subscriptions/handlers/slack-subscription-handler" />
import { SNSEvent } from 'aws-lambda';
import { BaseSNSHandler } from './base-sns-handler';
export interface ISlackSNSMessage {
message: string;
subject: string;
unsubscribeUrl: string;
timestamp: string;
messageId: string;
topicArn: string;
}
export declare class SlackSubscriptionHandler extends BaseSNSHandler {
private ssmClient;
constructor();
runExec(event: SNSEvent): Promise<{
success: boolean;
} | undefined>;
}