import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class NotificationChannelConfig { Sns ? : SnsChannelConfig ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SnsChannelConfig { TopicArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface NotificationChannelProperties { Config : NotificationChannelConfig ; } export default class NotificationChannel extends ResourceBase < NotificationChannelProperties > { static NotificationChannelConfig = NotificationChannelConfig ; static SnsChannelConfig = SnsChannelConfig ; constructor ( properties ) { super ( 'AWS::DevOpsGuru::NotificationChannel' , properties ) ; } }