import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class LogConfiguration { LogGroupName ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ChannelProperties { Id : Value < string > ; Description ? : Value < string > ; Tags ? : List < ResourceTag > ; EgressAccessLogs ? : LogConfiguration ; IngressAccessLogs ? : LogConfiguration ; } export default class Channel extends ResourceBase < ChannelProperties > { static LogConfiguration = LogConfiguration ; constructor ( properties ) { super ( 'AWS::MediaPackage::Channel' , properties ) ; } }