import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class FindingCriteria { Criterion ? : { [ key ] : any ; } ; ItemType ? : Condition ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Condition { Lt ? : Value < number > ; Gte ? : Value < number > ; Neq ? : List < Value < string > > ; Eq ? : List < Value < string > > ; Lte ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface FilterProperties { Action : Value < string > ; Description : Value < string > ; DetectorId : Value < string > ; FindingCriteria : FindingCriteria ; Rank : Value < number > ; Name : Value < string > ; } export default class Filter extends ResourceBase < FilterProperties > { static FindingCriteria = FindingCriteria ; static Condition = Condition ; constructor ( properties ) { super ( 'AWS::GuardDuty::Filter' , properties ) ; } }