@alienplatform/core 3.3.40 → 3.3.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +28 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10821,8 +10821,16 @@ var Postgres = class extends ResourceBuilder {
|
|
|
10821
10821
|
return this;
|
|
10822
10822
|
}
|
|
10823
10823
|
/**
|
|
10824
|
-
* Requests memory (e.g. "
|
|
10824
|
+
* Requests memory (e.g. "2Gi", "8Gi"). Drives the size on AWS (the ACU ceiling) and, together
|
|
10825
10825
|
* with `cpu`, the tier on GCP and Azure.
|
|
10826
|
+
*
|
|
10827
|
+
* Use binary units: Ki, Mi, Gi or Ti (e.g. "512Mi", "4Gi"). Decimal units are powers of 1000,
|
|
10828
|
+
* as in Kubernetes: "8G" is 8×10^9 bytes, about 7.45 GiB, so it can pick a smaller tier than
|
|
10829
|
+
* "8Gi". A number without a unit is rejected.
|
|
10830
|
+
*
|
|
10831
|
+
* On AWS (Aurora Serverless v2) the ceiling is memory / 2 GiB per ACU, with a minimum of 1 ACU
|
|
10832
|
+
* (about 2 GiB): Aurora rejects a lower maximum capacity, so anything under "2Gi" is sized
|
|
10833
|
+
* up to 1 ACU.
|
|
10826
10834
|
* @param value The requested memory.
|
|
10827
10835
|
* @returns The Postgres builder instance.
|
|
10828
10836
|
*/
|
|
@@ -10956,14 +10964,6 @@ var Sandbox = class extends ResourceBuilder {
|
|
|
10956
10964
|
this._config.egress = egress;
|
|
10957
10965
|
return this;
|
|
10958
10966
|
}
|
|
10959
|
-
/**
|
|
10960
|
-
* @deprecated Existing supervisor enforcement is preserved. The new
|
|
10961
|
-
* egress("internet") enables gateway enforcement and the supervisor automatically.
|
|
10962
|
-
*/
|
|
10963
|
-
privilegedSupervisor(settings) {
|
|
10964
|
-
this._config.privilegedSupervisor = settings;
|
|
10965
|
-
return this;
|
|
10966
|
-
}
|
|
10967
10967
|
/** Sets the runtime policy used when create omits one; requires egress("internet"). */
|
|
10968
10968
|
defaultPolicy(policy) {
|
|
10969
10969
|
this._config.defaultPolicy = policy;
|