import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Channel { channelId ? : Value < string > ; channelUri ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ProfilingGroupProperties { ProfilingGroupName : Value < string > ; ComputePlatform ? : Value < string > ; AgentPermissions ? : { [ key ] : any ; } ; AnomalyDetectionNotificationConfiguration ? : List < Channel > ; Tags ? : List < ResourceTag > ; } export default class ProfilingGroup extends ResourceBase < ProfilingGroupProperties > { static Channel = Channel ; constructor ( properties ) { super ( 'AWS::CodeGuruProfiler::ProfilingGroup' , properties ) ; } }