"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.HeaderMatch=void 0;const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class HeaderMatch{static valueIs(headerName,headerValue){return new HeaderMatchImpl(headerName,!1,{exact:headerValue})}static valueIsNot(headerName,headerValue){return new HeaderMatchImpl(headerName,!0,{exact:headerValue})}static valueStartsWith(headerName,prefix){return new HeaderMatchImpl(headerName,!1,{prefix})}static valueDoesNotStartWith(headerName,prefix){return new HeaderMatchImpl(headerName,!0,{prefix})}static valueEndsWith(headerName,suffix){return new HeaderMatchImpl(headerName,!1,{suffix})}static valueDoesNotEndWith(headerName,suffix){return new HeaderMatchImpl(headerName,!0,{suffix})}static valueMatchesRegex(headerName,regex){return new HeaderMatchImpl(headerName,!1,{regex})}static valueDoesNotMatchRegex(headerName,regex){return new HeaderMatchImpl(headerName,!0,{regex})}static valuesIsInRange(headerName,start,end){return new HeaderMatchImpl(headerName,!1,{range:{start,end}})}static valuesIsNotInRange(headerName,start,end){return new HeaderMatchImpl(headerName,!0,{range:{start,end}})}}exports.HeaderMatch=HeaderMatch,_a=JSII_RTTI_SYMBOL_1,HeaderMatch[_a]={fqn:"aws-cdk-lib.aws_appmesh.HeaderMatch",version:"2.96.1"};class HeaderMatchImpl extends HeaderMatch{constructor(headerName,invert,matchProperty){super(),this.headerName=headerName,this.invert=invert,this.matchProperty=matchProperty}bind(_scope){return{headerMatch:{name:this.headerName,invert:this.invert,match:this.matchProperty}}}}
