import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class FieldToMatch { Data ? : Value < string > ; Type ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class SizeConstraint { ComparisonOperator ! : Value < string > ; FieldToMatch ! : FieldToMatch ; Size ! : Value < number > ; TextTransformation ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface SizeConstraintSetProperties { Name : Value < string > ; SizeConstraints : List < SizeConstraint > ; } export default class SizeConstraintSet extends ResourceBase < SizeConstraintSetProperties > { static FieldToMatch = FieldToMatch ; static SizeConstraint = SizeConstraint ; constructor ( properties ) { super ( 'AWS::WAF::SizeConstraintSet' , properties ) ; } }