Skip to content

Commit eb6d450

Browse files
committed
feat: add all authorizer context properties to lambda_proxy template
1 parent 6ecbe42 commit eb6d450

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/deploy/events/apiGateway/methods.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ const LAMBDA_PROXY_REQUEST_TEMPLATE = `
6565
#set( $map = $context.identity )
6666
"identity": $loop,
6767
"domainName": "$context.domainName",
68-
"apiId": "$context.apiId"
68+
"apiId": "$context.apiId",
69+
#set( $map = $context.authorizer )
70+
"authorizer": $loop,
6971
},
7072
"body": "$util.escapeJavaScript("$body")",
7173
"isBase64Encoded": false

0 commit comments

Comments
 (0)