Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/minimize-rds-vpc-endpoints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@aws-amplify/data-schema-types': minor
---

Add optional `minimizeRdsVpcEndpoints` to the SQL data source configuration, allowing customers to opt into provisioning only the SSM VPC endpoint for the RDS-in-VPC SQL Lambda (reduces 5 endpoints to 1). Defaults to false (unchanged behavior); SQL data sources only.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export type DataSourceConfiguration<DE extends DatasourceEngine = DatasourceEngi
vpcConfig?: VpcConfig;
identifier?: string;
sslCert?: BackendSecret;
minimizeRdsVpcEndpoints?: boolean;
};
```
**References:** [DatasourceEngine](./data-schema-types.datasourceengine.md)
Expand Down
6 changes: 6 additions & 0 deletions packages/data-schema-types/src/builder/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ export type DataSourceConfiguration<
vpcConfig?: VpcConfig;
identifier?: string;
sslCert?: BackendSecret;
/**
* When true, provisions only the SSM interface VPC endpoint for the SQL Lambda,
* instead of the full set. Defaults to false (all endpoints) for backward compatibility.
* Only has an effect when vpcConfig is set.
*/
minimizeRdsVpcEndpoints?: boolean;
};

export type SchemaConfiguration<
Expand Down
Loading