import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class CFNDataSourceConfigurations { S3Logs ? : CFNS3LogsConfiguration ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class CFNS3LogsConfiguration { Enable ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface DetectorProperties { FindingPublishingFrequency ? : Value < string > ; DataSources ? : CFNDataSourceConfigurations ; Enable : Value < boolean > ; } export default class Detector extends ResourceBase < DetectorProperties > { static CFNDataSourceConfigurations = CFNDataSourceConfigurations ; static CFNS3LogsConfiguration = CFNS3LogsConfiguration ; constructor ( properties ) { super ( 'AWS::GuardDuty::Detector' , properties ) ; } }