feat(apigateway): add VPC and VPC endpoint identity fields to AccessLogField - #38304
Closed
jibin7jose wants to merge 0 commit into
Closed
feat(apigateway): add VPC and VPC endpoint identity fields to AccessLogField#38304jibin7jose wants to merge 0 commit into
jibin7jose wants to merge 0 commit into
Conversation
Contributor
🤖 Agent Docs Sync ReminderThis PR modifies human-facing documentation that has corresponding agent-facing docs.
If you consider no agent-facing changes are needed, leave a comment explaining why |
Contributor
Merge Protections🟠 1 of 1 protections blocking · waiting on 🤖 CI
🟠 📃 Configuration Change RequirementsWaiting for
Waiting checks:
|
jibin7jose
force-pushed
the
feat/apigateway-vpc-identity
branch
from
July 14, 2026 11:02
2645a21 to
be0fdc4
Compare
Contributor
|
Comments on closed issues and PRs are hard for our team to see. |
Repository owner
temporarily deployed
to
automation
July 14, 2026 11:10 — with
GitHub Actions
Inactive
Repository owner
temporarily deployed
to
automation
July 14, 2026 11:10 — with
GitHub Actions
Inactive
Repository owner
temporarily deployed
to
automation
July 14, 2026 11:11 — with
GitHub Actions
Inactive
Repository owner
temporarily deployed
to
automation
July 14, 2026 12:02 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #38302
Description of changes:
Adds
contextIdentityVpcId()andcontextIdentityVpceId()static methods to theAccessLogFieldclass in theaws-apigatewaymodule. These map to the$context.identity.vpcIdand$context.identity.vpceIdcontext variables respectively, which are essential for attributing requests to originating VPCs and VPC endpoints for private REST APIs.Testing:
Extended
AccessLogFormat.custom()unit tests inaccess-log.test.tsto include assertions for the two new context variables.