Skip to content

Commit

Permalink
patch specs for more wafv2 issues (#1343)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong authored Feb 3, 2020
1 parent 31852f3 commit 907f27e
Show file tree
Hide file tree
Showing 15 changed files with 345 additions and 980 deletions.
89 changes: 19 additions & 70 deletions src/cfnlint/data/CloudSpecs/ap-northeast-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -28134,30 +28134,6 @@
}
}
},
"AWS::WAFv2::IPSet.IPAddresses": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-ipset-ipaddresses.html",
"Properties": {
"IPAddresses": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-ipset-ipaddresses.html#cfn-wafv2-ipset-ipaddresses-ipaddresses",
"PrimitiveItemType": "String",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::IPSet.TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-ipset-taglist.html",
"Properties": {
"TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-ipset-taglist.html#cfn-wafv2-ipset-taglist-taglist",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RegexPatternSet.Regex": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-regexpatternset-regex.html",
"Properties": {
Expand All @@ -28169,18 +28145,6 @@
}
}
},
"AWS::WAFv2::RegexPatternSet.TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-regexpatternset-taglist.html",
"Properties": {
"TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-regexpatternset-taglist.html#cfn-wafv2-regexpatternset-taglist-taglist",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RuleGroup.AllQueryArguments": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-allqueryarguments.html"
},
Expand Down Expand Up @@ -28792,18 +28756,6 @@
}
}
},
"AWS::WAFv2::RuleGroup.TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-taglist.html",
"Properties": {
"TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-taglist.html#cfn-wafv2-rulegroup-taglist-taglist",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RuleGroup.TextTransformation": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-texttransformation.html",
"Properties": {
Expand Down Expand Up @@ -29619,18 +29571,6 @@
}
}
},
"AWS::WAFv2::WebACL.TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-taglist.html",
"Properties": {
"TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-taglist.html#cfn-wafv2-webacl-taglist-taglist",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.TextTransformation": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-texttransformation.html",
"Properties": {
Expand Down Expand Up @@ -52751,9 +52691,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html",
"Properties": {
"Addresses": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-addresses",
"Required": true,
"Type": "IPAddresses",
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-addresses",
"PrimitiveItemType": "String",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
},
"Description": {
Expand Down Expand Up @@ -52781,9 +52722,11 @@
"UpdateType": "Mutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-tags",
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html",
"DuplicatesAllowed": true,
"ItemType": "Tag",
"Required": false,
"Type": "TagList",
"Type": "List",
"UpdateType": "Mutable"
}
}
Expand Down Expand Up @@ -52825,9 +52768,11 @@
"UpdateType": "Mutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-tags",
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-tags",
"DuplicatesAllowed": true,
"ItemType": "Tag",
"Required": false,
"Type": "TagList",
"Type": "List",
"UpdateType": "Mutable"
}
}
Expand Down Expand Up @@ -52876,8 +52821,10 @@
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-tags",
"DuplicatesAllowed": true,
"ItemType": "Tag",
"Required": false,
"Type": "TagList",
"Type": "List",
"UpdateType": "Mutable"
},
"VisibilityConfig": {
Expand Down Expand Up @@ -52934,9 +52881,11 @@
"UpdateType": "Mutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-tags",
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-tags",
"DuplicatesAllowed": true,
"ItemType": "Tag",
"Required": false,
"Type": "TagList",
"Type": "List",
"UpdateType": "Mutable"
},
"VisibilityConfig": {
Expand Down
89 changes: 19 additions & 70 deletions src/cfnlint/data/CloudSpecs/ap-south-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25651,30 +25651,6 @@
}
}
},
"AWS::WAFv2::IPSet.IPAddresses": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-ipset-ipaddresses.html",
"Properties": {
"IPAddresses": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-ipset-ipaddresses.html#cfn-wafv2-ipset-ipaddresses-ipaddresses",
"PrimitiveItemType": "String",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::IPSet.TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-ipset-taglist.html",
"Properties": {
"TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-ipset-taglist.html#cfn-wafv2-ipset-taglist-taglist",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RegexPatternSet.Regex": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-regexpatternset-regex.html",
"Properties": {
Expand All @@ -25686,18 +25662,6 @@
}
}
},
"AWS::WAFv2::RegexPatternSet.TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-regexpatternset-taglist.html",
"Properties": {
"TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-regexpatternset-taglist.html#cfn-wafv2-regexpatternset-taglist-taglist",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RuleGroup.AllQueryArguments": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-allqueryarguments.html"
},
Expand Down Expand Up @@ -26309,18 +26273,6 @@
}
}
},
"AWS::WAFv2::RuleGroup.TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-taglist.html",
"Properties": {
"TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-taglist.html#cfn-wafv2-rulegroup-taglist-taglist",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::RuleGroup.TextTransformation": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-texttransformation.html",
"Properties": {
Expand Down Expand Up @@ -27136,18 +27088,6 @@
}
}
},
"AWS::WAFv2::WebACL.TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-taglist.html",
"Properties": {
"TagList": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-taglist.html#cfn-wafv2-webacl-taglist-taglist",
"ItemType": "Tag",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
}
}
},
"AWS::WAFv2::WebACL.TextTransformation": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-texttransformation.html",
"Properties": {
Expand Down Expand Up @@ -48550,9 +48490,10 @@
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html",
"Properties": {
"Addresses": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-addresses",
"Required": true,
"Type": "IPAddresses",
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-addresses",
"PrimitiveItemType": "String",
"Required": false,
"Type": "List",
"UpdateType": "Mutable"
},
"Description": {
Expand Down Expand Up @@ -48580,9 +48521,11 @@
"UpdateType": "Mutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-ipset.html#cfn-wafv2-ipset-tags",
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html",
"DuplicatesAllowed": true,
"ItemType": "Tag",
"Required": false,
"Type": "TagList",
"Type": "List",
"UpdateType": "Mutable"
}
}
Expand Down Expand Up @@ -48624,9 +48567,11 @@
"UpdateType": "Mutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-tags",
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-regexpatternset.html#cfn-wafv2-regexpatternset-tags",
"DuplicatesAllowed": true,
"ItemType": "Tag",
"Required": false,
"Type": "TagList",
"Type": "List",
"UpdateType": "Mutable"
}
}
Expand Down Expand Up @@ -48675,8 +48620,10 @@
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-rulegroup.html#cfn-wafv2-rulegroup-tags",
"DuplicatesAllowed": true,
"ItemType": "Tag",
"Required": false,
"Type": "TagList",
"Type": "List",
"UpdateType": "Mutable"
},
"VisibilityConfig": {
Expand Down Expand Up @@ -48733,9 +48680,11 @@
"UpdateType": "Mutable"
},
"Tags": {
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-tags",
"Documentation": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafv2-webacl.html#cfn-wafv2-webacl-tags",
"DuplicatesAllowed": true,
"ItemType": "Tag",
"Required": false,
"Type": "TagList",
"Type": "List",
"UpdateType": "Mutable"
},
"VisibilityConfig": {
Expand Down
Loading

0 comments on commit 907f27e

Please sign in to comment.