diff --git a/aws-wafv2-loggingconfiguration/aws-wafv2-loggingconfiguration.json b/aws-wafv2-loggingconfiguration/aws-wafv2-loggingconfiguration.json index 3fe93d9..9acb2ea 100644 --- a/aws-wafv2-loggingconfiguration/aws-wafv2-loggingconfiguration.json +++ b/aws-wafv2-loggingconfiguration/aws-wafv2-loggingconfiguration.json @@ -111,7 +111,7 @@ "minItems": 1, "items": { "type": "string", - "pattern": "^[\\/]+([^~]*(~[01])*)*{1,512}$" + "pattern": "^(?=.{1,512}$)([\\/]|([^~]*|(~[01])))+$" } } } diff --git a/aws-wafv2-rulegroup/aws-wafv2-rulegroup.json b/aws-wafv2-rulegroup/aws-wafv2-rulegroup.json index 1361f0f..9e35cd9 100644 --- a/aws-wafv2-rulegroup/aws-wafv2-rulegroup.json +++ b/aws-wafv2-rulegroup/aws-wafv2-rulegroup.json @@ -313,7 +313,7 @@ "properties": { "HeaderName": { "type": "string", - "pattern": "^[a-zA-Z0-9-]+{1,255}$" + "pattern": "^[a-zA-Z0-9-]{1,255}$" }, "FallbackBehavior": { "type": "string", @@ -334,7 +334,7 @@ "properties": { "HeaderName": { "type": "string", - "pattern": "^[a-zA-Z0-9-]+{1,255}$" + "pattern": "^[a-zA-Z0-9-]{1,255}$" }, "FallbackBehavior": { "type": "string", diff --git a/aws-wafv2-webacl/aws-wafv2-webacl.json b/aws-wafv2-webacl/aws-wafv2-webacl.json index 6447614..401f141 100644 --- a/aws-wafv2-webacl/aws-wafv2-webacl.json +++ b/aws-wafv2-webacl/aws-wafv2-webacl.json @@ -206,7 +206,7 @@ "JsonPointerPath": { "description": "JSON pointer path in the web request's JSON body", "type": "string", - "pattern": "^[\\/]+([^~]*(~[01])*)*{1,512}$" + "pattern": "^[\\/]+([^~]*(~[01])*){1,512}$" }, "GeoMatchStatement": { "type": "object", @@ -391,7 +391,7 @@ "properties": { "HeaderName": { "type": "string", - "pattern": "^[a-zA-Z0-9-]+{1,255}$" + "pattern": "^[a-zA-Z0-9-]{1,255}$" }, "FallbackBehavior": { "type": "string", @@ -412,7 +412,7 @@ "properties": { "HeaderName": { "type": "string", - "pattern": "^[a-zA-Z0-9-]+{1,255}$" + "pattern": "^[a-zA-Z0-9-]{1,255}$" }, "FallbackBehavior": { "type": "string",