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 ByteMatchTuple { FieldToMatch ! : FieldToMatch ; PositionalConstraint ! : Value < string > ; TargetString ? : Value < string > ; TargetStringBase64 ? : Value < string > ; TextTransformation ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ByteMatchSetProperties { ByteMatchTuples ? : List < ByteMatchTuple > ; Name : Value < string > ; } export default class ByteMatchSet extends ResourceBase < ByteMatchSetProperties > { static FieldToMatch = FieldToMatch ; static ByteMatchTuple = ByteMatchTuple ; constructor ( properties ) { super ( 'AWS::WAF::ByteMatchSet' , properties ) ; } }