import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export interface SubscriptionProperties { DeliveryPolicy ? : { [ key ] : any ; } ; Endpoint ? : Value < string > ; FilterPolicy ? : { [ key ] : any ; } ; Protocol : Value < string > ; RawMessageDelivery ? : Value < boolean > ; RedrivePolicy ? : { [ key ] : any ; } ; Region ? : Value < string > ; SubscriptionRoleArn ? : Value < string > ; TopicArn : Value < string > ; } export default class Subscription extends ResourceBase < SubscriptionProperties > { constructor ( properties ) { super ( 'AWS::SNS::Subscription' , properties ) ; } }