Skip to content

feat(apigateway): add VPC and VPC endpoint identity fields to AccessLogField - #38304

Closed
jibin7jose wants to merge 0 commit into
aws:mainfrom
jibin7jose:feat/apigateway-vpc-identity
Closed

feat(apigateway): add VPC and VPC endpoint identity fields to AccessLogField#38304
jibin7jose wants to merge 0 commit into
aws:mainfrom
jibin7jose:feat/apigateway-vpc-identity

Conversation

@jibin7jose

Copy link
Copy Markdown

Fixes #38302

Description of changes:
Adds contextIdentityVpcId() and contextIdentityVpceId() static methods to the AccessLogField class in the aws-apigateway module. These map to the $context.identity.vpcId and $context.identity.vpceId context variables respectively, which are essential for attributing requests to originating VPCs and VPC endpoints for private REST APIs.

Testing:
Extended AccessLogFormat.custom() unit tests in access-log.test.ts to include assertions for the two new context variables.

@github-actions github-actions Bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK feature-request A feature should be added or improved. p2 labels Jul 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Agent Docs Sync Reminder

This PR modifies human-facing documentation that has corresponding agent-facing docs.
Please check whether the following agent-facing files need matching updates:

  • AGENTS.md
  • docs/AGENTS_CONSTRUCT_DESIGN.md
  • docs/AGENTS_CONSTRUCT_IMPLEMENTATION.md

If you consider no agent-facing changes are needed, leave a comment explaining why
and a maintainer will remove the agent-docs-review-needed label.

@mergify

mergify Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟠 1 of 1 protections blocking · waiting on 🤖 CI

Protection Waiting on
🟠 📃 Configuration Change Requirements 🤖 CI

🟠 📃 Configuration Change Requirements

Waiting for

  • check-success = Configuration changed
Waiting checks: Configuration changed.

Mergify configuration change

  • check-success = Configuration changed

@jibin7jose jibin7jose closed this Jul 14, 2026
@jibin7jose
jibin7jose force-pushed the feat/apigateway-vpc-identity branch from 2645a21 to be0fdc4 Compare July 14, 2026 11:02
@github-actions

Copy link
Copy Markdown
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 14, 2026
@jibin7jose
jibin7jose deleted the feat/apigateway-vpc-identity branch July 14, 2026 11:06
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
@mergify
mergify Bot temporarily deployed to automation July 14, 2026 12:02 Inactive
@mergify
mergify Bot temporarily deployed to automation July 14, 2026 12:02 Inactive
Repository owner temporarily deployed to automation July 14, 2026 12:02 — with GitHub Actions Inactive
@mergify
mergify Bot temporarily deployed to automation July 14, 2026 12:22 Inactive
@mergify
mergify Bot temporarily deployed to automation July 14, 2026 12:22 Inactive
@mergify
mergify Bot temporarily deployed to automation July 14, 2026 13:13 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

agent-docs-review-needed beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK feature-request A feature should be added or improved. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(apigateway): add VPC and VPC endpoint identity fields to AccessLogField

4 participants