moto/tests/test_wafv2/test_helper_functions.py
2021-08-04 06:45:41 +01:00

16 lines
400 B
Python

def CREATE_WEB_ACL_BODY(name: str, scope: str) -> dict:
return {
"Scope": scope,
"Name": name,
"DefaultAction": {"Allow": {}},
"VisibilityConfig": {
"SampledRequestsEnabled": False,
"CloudWatchMetricsEnabled": False,
"MetricName": "idk",
},
}
def LIST_WEB_ACL_BODY(scope: str) -> dict:
return {"Scope": scope}