16 lines
400 B
Python
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}
|