Skip to content

Commit c40a021

Browse files
authored
Add DefinitionBody to SAM APIs with DisableExecuteApiEndpoint (#2590)
1 parent 853c3e9 commit c40a021

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cfnlint/transform.py

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def _replace_local_codeuri(self):
113113
"DefinitionBody" not in resource_dict
114114
and "Auth" not in resource_dict
115115
and "Cors" not in resource_dict
116+
and "DisableExecuteApiEndpoint" not in resource_dict
116117
):
117118
Transform._update_to_s3_uri("DefinitionUri", resource_dict)
118119
else:

0 commit comments

Comments
 (0)