Skip to content

Commit ab35c86

Browse files
committed
Update NetworkFirewall per 2021-11-04 changes
1 parent eba0019 commit ab35c86

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

troposphere/networkfirewall.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,15 @@ class CustomAction(AWSProperty):
7171
}
7272

7373

74+
class StatefulEngineOptions(AWSProperty):
75+
props = {
76+
"RuleOrder": (str, False),
77+
}
78+
79+
7480
class StatefulRuleGroupReference(AWSProperty):
7581
props = {
82+
"Priority": (integer, False),
7683
"ResourceArn": (str, True),
7784
}
7885

@@ -86,6 +93,8 @@ class StatelessRuleGroupReference(AWSProperty):
8693

8794
class FirewallPolicyProperty(AWSProperty):
8895
props = {
96+
"StatefulDefaultActions": ([str], False),
97+
"StatefulEngineOptions": (StatefulEngineOptions, False),
8998
"StatefulRuleGroupReferences": ([StatefulRuleGroupReference], False),
9099
"StatelessCustomActions": ([CustomAction], False),
91100
"StatelessDefaultActions": ([str], True),
@@ -221,10 +230,17 @@ class RulesSource(AWSProperty):
221230
}
222231

223232

233+
class StatefulRuleOptions(AWSProperty):
234+
props = {
235+
"RuleOrder": (str, False),
236+
}
237+
238+
224239
class RuleGroupProperty(AWSProperty):
225240
props = {
226241
"RuleVariables": (RuleVariables, False),
227242
"RulesSource": (RulesSource, True),
243+
"StatefulRuleOptions": (StatefulRuleOptions, False),
228244
}
229245

230246

0 commit comments

Comments
 (0)