import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ArchiveRule { Filter ! : List < Filter > ; RuleName ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Filter { Contains ? : List < Value < string > > ; Eq ? : List < Value < string > > ; Exists ? : Value < boolean > ; Property ! : Value < string > ; Neq ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AnalyzerProperties { AnalyzerName ? : Value < string > ; ArchiveRules ? : List < ArchiveRule > ; Tags ? : List < ResourceTag > ; Type : Value < string > ; } export default class Analyzer extends ResourceBase < AnalyzerProperties > { static ArchiveRule = ArchiveRule ; static Filter = Filter ; constructor ( properties ) { super ( 'AWS::AccessAnalyzer::Analyzer' , properties ) ; } }