contextAccountId in the AccessLogField returns invalid value #7951
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
in-progress
This issue is being actively worked on.
p2
When calling AccessLogField.contextAccountId(), the function returns request ID path which doesn't seem to be correct - I'd expect the value to return a path to account ID
Reproduction Steps
call
AccessLogField.contextAccountId()
Error Log
Expected return value:
'$context.identity.accountId'
Actual return value:
'$context.requestId'
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: