Skip to content

feat: add minimizeRdsVpcEndpoints to SQL DataSourceConfiguration#754

Merged
Simone319 merged 3 commits into
mainfrom
feat/minimize-rds-vpc-endpoints
Jul 15, 2026
Merged

feat: add minimizeRdsVpcEndpoints to SQL DataSourceConfiguration#754
Simone319 merged 3 commits into
mainfrom
feat/minimize-rds-vpc-endpoints

Conversation

@Simone319

Copy link
Copy Markdown
Contributor

Summary

Adds an optional minimizeRdsVpcEndpoints?: boolean to the SQL branch of DataSourceConfiguration in packages/data-schema-types/src/builder/types.ts.

This lets Gen2 defineData customers opt into a reduced set of RDS-in-VPC interface endpoints for the SQL Lambda: when set to true, only the ssm interface VPC endpoint is provisioned (5 → 1) instead of the full set. It only has an effect when vpcConfig is set.

  • Default false — unchanged 5-endpoint behavior, fully backward compatible.
  • SQL-only — the DynamoDB branch of DataSourceConfiguration is unaffected.

Coordinated change (3 repos)

This is part of a 3-repo coordinated change:

  1. amplify-category-api (released) — SQLLambdaModelDataSourceStrategy.minimizeRdsVpcEndpoints. See feat: add opt-in minimizeRdsVpcEndpoints to the SQL data source strategy amplify-category-api#3449 and issue Remove unnecessary VPC endpoints created with SQL schemas amplify-category-api#3409.
  2. amplify-data (this PR) — surface the option on the SQL DataSourceConfiguration type.
  3. amplify-backend backend-data (pending) — convert_schema mapping to pass the flag through.

Notes

  • data-schema (the runtime builder) needs no change — the value is a structural passthrough.

@Simone319 Simone319 requested a review from a team as a code owner July 15, 2026 14:25
@changeset-bot

changeset-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c816dad

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@aws-amplify/data-schema-types Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Simone319 Simone319 requested a review from a team as a code owner July 15, 2026 14:45
@Simone319 Simone319 merged commit 9172acc into main Jul 15, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants