12 lines
429 B
TypeScript
12 lines
429 B
TypeScript
import type { Construct } from 'constructs';
|
|
import * as s3 from '../../aws-s3';
|
|
import type * as sns from '../../aws-sns';
|
|
/**
|
|
* Use an SNS topic as a bucket notification destination
|
|
*/
|
|
export declare class SnsDestination implements s3.IBucketNotificationDestination {
|
|
private readonly topic;
|
|
constructor(topic: sns.ITopic);
|
|
bind(scope: Construct, bucket: s3.IBucketRef): s3.BucketNotificationDestinationConfig;
|
|
}
|