From e6c76404eb5010c896ce118e43f10ce105bc2e0a Mon Sep 17 00:00:00 2001 From: eloy-moreno Date: Thu, 5 Mar 2020 17:41:22 +0100 Subject: [PATCH] solve problems with attributes in WebAcl and ByteMatchStatement --- troposphere/wafv2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/troposphere/wafv2.py b/troposphere/wafv2.py index a494681f1..e7f576b33 100644 --- a/troposphere/wafv2.py +++ b/troposphere/wafv2.py @@ -175,7 +175,7 @@ class ByteMatchStatement(AWSProperty): 'PositionalConstraint': (validate_positional_constraint, False), 'SearchString': (basestring, False), 'SearchStringBase64': (basestring, False), - 'TextTransformations': (TextTransformations, False) + 'TextTransformations': ([TextTransformation], True) } @@ -403,7 +403,7 @@ class WebACL(AWSObject): 'DefaultAction': (DefaultAction, False), 'Description': (basestring, False), 'Name': (basestring, True), - 'Rules': (Rules, False), + 'Rules': ([Rule], False), 'Scope': (basestring, True), 'Tags': (Tags, False), 'VisibilityConfig': (VisibilityConfig, False)