{
  "version": 3,
  "sources": ["../../src/aws-sns/subscription.ts"],
  "sourcesContent": ["import { aws_sns } from \"aws-cdk-lib\";\n\nconst tag = Symbol(\"cloudy-cdk-lib.aws_sns.ITopicSubscription\");\n\nexport interface ITopicSubscription<Message extends string>\n  extends aws_sns.ITopicSubscription {\n  // /**\n  //  * Called by `lambda.addEventSource` to allow the event source to bind to this\n  //  * function.\n  //  *\n  //  * @param target That lambda function to bind to.\n  //  */\n  // bind(target: IFunction<InputType, any>): void\n\n  /**\n   * This property is necessary because otherwise, TypeScript will allow\n   * interchanging between event sources of different InputType's.\n   *\n   * Adding a property with the type InputType, will forbid interchanges\n   * unless the InputType's are of the same shape.\n   */\n  readonly [tag]: Message | undefined;\n}\n\nexport abstract class BaseTopicSubscription<Message extends string>\n  implements ITopicSubscription<Message>\n{\n  // abstract bind(target: IFunction<InputType, any>): void\n\n  // readonly [subscriptionSymbol]!: Message | undefined;\n  declare readonly [tag]: Message | undefined;\n\n  abstract bind(topic: aws_sns.ITopic): aws_sns.TopicSubscriptionConfig;\n}\n"],
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,2BAAAE,IAAA,eAAAC,EAAAH,GAEA,MAAMI,EAAM,OAAO,2CAA2C,EAsBvD,MAAeF,CAEtB,CAOA",
  "names": ["subscription_exports", "__export", "BaseTopicSubscription", "__toCommonJS", "tag"]
}
