@alienplatform/core 3.3.31 → 3.3.33
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/README.md +60 -0
- package/dist/index.d.ts +1005 -892
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +161 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as z$2 from "zod";
|
|
2
2
|
import * as z$1 from "zod/v4";
|
|
3
|
+
import { z } from "zod/v4";
|
|
3
4
|
import { serializeError } from "serialize-error";
|
|
4
5
|
//#region src/generated/zod/secret-reference-schema.ts
|
|
5
6
|
/**
|
|
@@ -621,7 +622,8 @@ const AlienEventSchema = z$2.union([
|
|
|
621
622
|
z$2.object({
|
|
622
623
|
"platform": z$2.string().describe("Platform being targeted"),
|
|
623
624
|
"stack": z$2.string().describe("Name of the stack being checked"),
|
|
624
|
-
"type": z$2.enum(["RunningPreflights"])
|
|
625
|
+
"type": z$2.enum(["RunningPreflights"]),
|
|
626
|
+
"warnings": z$2.optional(z$2.array(z$2.string()).describe("Non-blocking diagnostics reported by the completed checks."))
|
|
625
627
|
}),
|
|
626
628
|
z$2.object({
|
|
627
629
|
"targetTriple": z$2.string().describe("Target triple for the runtime"),
|
|
@@ -1709,7 +1711,10 @@ const AwsIamRoleServiceAccountHeartbeatDataSchema = z$2.object({
|
|
|
1709
1711
|
},
|
|
1710
1712
|
"tagCount": z$2.int().min(0)
|
|
1711
1713
|
});
|
|
1712
|
-
z$2.object({
|
|
1714
|
+
z$2.object({
|
|
1715
|
+
"availabilityProbe": z$2.optional(z$2.boolean().describe("Setup installed the scoped key availability probe permission.")),
|
|
1716
|
+
"keyArn": z$2.string().describe("Immutable KMS key ARN. Alias ARNs are not accepted.")
|
|
1717
|
+
}).describe("AWS KMS key created by the customer-installed setup stack.");
|
|
1713
1718
|
//#endregion
|
|
1714
1719
|
//#region src/generated/zod/key-heartbeat-status-schema.ts
|
|
1715
1720
|
/**
|
|
@@ -4080,6 +4085,20 @@ const ComputePoolSelectionSchema = z$2.union([z$2.object({
|
|
|
4080
4085
|
"mode": z$2.enum(["autoscale"])
|
|
4081
4086
|
})]).describe("User-selected deployment settings for one compute pool.");
|
|
4082
4087
|
//#endregion
|
|
4088
|
+
//#region src/generated/zod/container-resource-selection-schema.ts
|
|
4089
|
+
/**
|
|
4090
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4091
|
+
* Do not edit manually.
|
|
4092
|
+
*/
|
|
4093
|
+
/**
|
|
4094
|
+
* @description Deployment-time resource allocation for a container. Omitted fields use release defaults.
|
|
4095
|
+
*/
|
|
4096
|
+
const ContainerResourceSelectionSchema = z$2.object({
|
|
4097
|
+
"cpu": z$2.number().describe("CPU allocation in vCPUs.").nullish(),
|
|
4098
|
+
"memory": z$2.string().describe("Memory allocation, using binary units such as Mi or Gi.").nullish(),
|
|
4099
|
+
"volumeSizeGib": z$2.int().min(0).describe("Persistent volume capacity per replica, in whole GiB. Omitted values\nuse the release default. Existing volumes can only grow.").nullish()
|
|
4100
|
+
}).describe("Deployment-time resource allocation for a container. Omitted fields use release defaults.");
|
|
4101
|
+
//#endregion
|
|
4083
4102
|
//#region src/generated/zod/compute-settings-schema.ts
|
|
4084
4103
|
/**
|
|
4085
4104
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -4088,7 +4107,10 @@ const ComputePoolSelectionSchema = z$2.union([z$2.object({
|
|
|
4088
4107
|
/**
|
|
4089
4108
|
* @description Deployment-time compute choices for Alien-managed compute pools.\n\nApplication source declares portable pool requirements. This settings\nobject stores the concrete choices made for one deployment, such as the\nprovider machine type and selected machine counts.
|
|
4090
4109
|
*/
|
|
4091
|
-
const ComputeSettingsSchema = z$2.object({
|
|
4110
|
+
const ComputeSettingsSchema = z$2.object({
|
|
4111
|
+
"containers": z$2.optional(z$2.object({}).catchall(z$2.lazy(() => ContainerResourceSelectionSchema).describe("Deployment-time resource allocation for a container. Omitted fields use release defaults.")).describe("Per-replica resources selected within each container's declared ranges.")),
|
|
4112
|
+
"pools": z$2.optional(z$2.object({}).catchall(z$2.lazy(() => ComputePoolSelectionSchema).describe("User-selected deployment settings for one compute pool.")).describe("Selected compute choices keyed by pool ID."))
|
|
4113
|
+
}).describe("Deployment-time compute choices for Alien-managed compute pools.\n\nApplication source declares portable pool requirements. This settings\nobject stores the concrete choices made for one deployment, such as the\nprovider machine type and selected machine counts.");
|
|
4092
4114
|
//#endregion
|
|
4093
4115
|
//#region src/generated/zod/container-apps-environment-binding-schema.ts
|
|
4094
4116
|
/**
|
|
@@ -4674,6 +4696,37 @@ const ContainerOutputsSchema = z$2.object({
|
|
|
4674
4696
|
*/
|
|
4675
4697
|
const ContainerPortSchema = z$2.object({ "port": z$2.int().min(0).describe("Port number") }).describe("Container port configuration.");
|
|
4676
4698
|
//#endregion
|
|
4699
|
+
//#region src/generated/zod/resource-choice-range-schema.ts
|
|
4700
|
+
/**
|
|
4701
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4702
|
+
* Do not edit manually.
|
|
4703
|
+
*/
|
|
4704
|
+
/**
|
|
4705
|
+
* @description Allowed deployment-time resource quantities. These are choices, not autoscaling targets.
|
|
4706
|
+
*/
|
|
4707
|
+
const ResourceChoiceRangeSchema = z$2.object({
|
|
4708
|
+
"default": z$2.string().describe("Allocation used when deployment settings omit a selection."),
|
|
4709
|
+
"max": z$2.string().describe("Largest permitted allocation."),
|
|
4710
|
+
"min": z$2.string().describe("Smallest permitted allocation.")
|
|
4711
|
+
}).describe("Allowed deployment-time resource quantities. These are choices, not autoscaling targets.");
|
|
4712
|
+
//#endregion
|
|
4713
|
+
//#region src/generated/zod/container-resource-choices-schema.ts
|
|
4714
|
+
/**
|
|
4715
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4716
|
+
* Do not edit manually.
|
|
4717
|
+
*/
|
|
4718
|
+
/**
|
|
4719
|
+
* @description Release-declared choices for each container resource dimension.
|
|
4720
|
+
*/
|
|
4721
|
+
const ContainerResourceChoicesSchema = z$2.object({
|
|
4722
|
+
get "cpu"() {
|
|
4723
|
+
return z$2.union([ResourceChoiceRangeSchema, z$2.null()]).optional();
|
|
4724
|
+
},
|
|
4725
|
+
get "memory"() {
|
|
4726
|
+
return z$2.union([ResourceChoiceRangeSchema, z$2.null()]).optional();
|
|
4727
|
+
}
|
|
4728
|
+
}).describe("Release-declared choices for each container resource dimension.");
|
|
4729
|
+
//#endregion
|
|
4677
4730
|
//#region src/generated/zod/container-security-profile-schema.ts
|
|
4678
4731
|
/**
|
|
4679
4732
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -4779,6 +4832,9 @@ const PersistentStorageSchema = z$2.object({
|
|
|
4779
4832
|
get "backups"() {
|
|
4780
4833
|
return VolumeBackupsSchema.describe("Scheduled snapshots of a persistent volume.\n\nThe cloud's own scheduler takes the snapshots (AWS Data Lifecycle Manager,\na Compute Engine snapshot schedule, or Azure Disk Backup), so they keep being\ntaken while the deployment is unreachable. Snapshots are crash-consistent:\nthe volume as it would be after a sudden power loss. When a container is\ndeleted, Alien keeps one final snapshot of each volume.\n\nKubernetes deployments leave volume backups to the cluster's own tooling,\nand local deployments don't snapshot volumes. Neither reports volumes in\n`ContainerOutputs.volumes` or a `volumeBackups` status.").optional();
|
|
4781
4834
|
},
|
|
4835
|
+
get "encryptionKey"() {
|
|
4836
|
+
return z$2.union([ResourceRefSchema, z$2.null()]).optional();
|
|
4837
|
+
},
|
|
4782
4838
|
"mountPath": z$2.string().describe("Mount path inside the container"),
|
|
4783
4839
|
"size": z$2.string().describe("Storage size (e.g., \"100Gi\", \"500Gi\")")
|
|
4784
4840
|
}).describe("Persistent storage configuration for stateful containers.");
|
|
@@ -4871,6 +4927,9 @@ const ContainerSchema = z$2.object({
|
|
|
4871
4927
|
return z$2.array(PublicEndpointSchema.describe("Public endpoint configuration for port-backed workload resources.")).describe("Public endpoints exposed by the container.").optional();
|
|
4872
4928
|
},
|
|
4873
4929
|
"replicas": z$2.int().min(0).describe("Fixed replica count (for stateful containers or stateless without autoscaling)").nullish(),
|
|
4930
|
+
get "resourceChoices"() {
|
|
4931
|
+
return z$2.union([ContainerResourceChoicesSchema, z$2.null()]).optional();
|
|
4932
|
+
},
|
|
4874
4933
|
get "security"() {
|
|
4875
4934
|
return z$2.union([ContainerSecuritySchema, z$2.null()]).optional();
|
|
4876
4935
|
},
|
|
@@ -6763,6 +6822,7 @@ const KeyHeartbeatDataSchema = z$2.union([
|
|
|
6763
6822
|
})
|
|
6764
6823
|
]);
|
|
6765
6824
|
z$2.object({
|
|
6825
|
+
"available": z$2.boolean().describe("Latest key availability observation. Absent on older imported states.\nA false observation suspends dependent reconciliation without replacing resources.").nullish(),
|
|
6766
6826
|
get "fingerprint"() {
|
|
6767
6827
|
return KeyFingerprintSchema.describe("Stable identity of a provider key family.\n\nProvider-native version rotation does not change this value. Replacing the\nprovider key does.");
|
|
6768
6828
|
},
|
|
@@ -7738,6 +7798,9 @@ const PostgresSchema = z$2.object({
|
|
|
7738
7798
|
return z$2.union([PostgresBackendSchema, z$2.null()]).optional();
|
|
7739
7799
|
},
|
|
7740
7800
|
"cpu": z$2.string().describe("Requested vCPUs (e.g. \"0.5\", \"2\"). None = smallest available tier.").nullish(),
|
|
7801
|
+
get "encryptionKey"() {
|
|
7802
|
+
return z$2.union([ResourceRefSchema, z$2.null()]).optional();
|
|
7803
|
+
},
|
|
7741
7804
|
"highAvailability": z$2.optional(z$2.boolean().describe("Multi-AZ / regional / zone-redundant high availability. Default false.")),
|
|
7742
7805
|
"id": z$2.string(),
|
|
7743
7806
|
"memory": z$2.string().describe("Requested memory (e.g. \"1Gi\", \"8Gi\"). None = smallest available tier.").nullish(),
|
|
@@ -8321,6 +8384,16 @@ const ServiceAccountSchema = z$2.object({
|
|
|
8321
8384
|
}
|
|
8322
8385
|
}).describe("Represents a non-human identity that can be assumed by compute services\nsuch as Lambda, Cloud Run, ECS, Container Apps, etc.\n\nMaps to:\n- AWS: IAM Role\n- GCP: Service Account\n- Azure: User-assigned Managed Identity\n\nThe ServiceAccount is automatically created from permission profiles in the stack\nand contains the resolved permission sets for both stack-level and resource-scoped access.");
|
|
8323
8386
|
//#endregion
|
|
8387
|
+
//#region src/generated/zod/setup-management-schema.ts
|
|
8388
|
+
/**
|
|
8389
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8390
|
+
* Do not edit manually.
|
|
8391
|
+
*/
|
|
8392
|
+
/**
|
|
8393
|
+
* @description Whether setup remains a separate administrator operation.
|
|
8394
|
+
*/
|
|
8395
|
+
const SetupManagementSchema = z$2.enum(["manual", "automatic"]).describe("Whether setup remains a separate administrator operation.");
|
|
8396
|
+
//#endregion
|
|
8324
8397
|
//#region src/generated/zod/telemetry-mode-schema.ts
|
|
8325
8398
|
/**
|
|
8326
8399
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -8379,6 +8452,10 @@ const StackSettingsSchema = z$2.object({
|
|
|
8379
8452
|
return z$2.union([NetworkSettingsSchema, z$2.null()]).optional();
|
|
8380
8453
|
},
|
|
8381
8454
|
"publicEndpoints": z$2.object({}).catchall(z$2.object({}).catchall(z$2.string())).describe("Exact externally managed endpoint URLs, keyed by resource ID and endpoint name.\n\nThis is intended for adopted Machines deployments whose DNS and certificates remain\ncustomer-owned. The platform passes these URLs to the runtime without creating or\nreplacing DNS records or certificates.").nullish(),
|
|
8455
|
+
"quotaWarningOverrides": z$2.optional(z$2.array(z$2.string()).describe("Provider quota identities whose preflight failures become visible warnings\nfor this deployment. Checks still run; deploy-time provider limits still apply.\nUnknown identities are rejected. An empty list restores normal blocking.")),
|
|
8456
|
+
get "setupManagement"() {
|
|
8457
|
+
return SetupManagementSchema.describe("Whether setup remains a separate administrator operation.").optional();
|
|
8458
|
+
},
|
|
8382
8459
|
get "telemetry"() {
|
|
8383
8460
|
return TelemetryModeSchema.describe("How telemetry (logs, metrics, traces) is handled.").optional();
|
|
8384
8461
|
},
|
|
@@ -9849,6 +9926,39 @@ function parseQuantityBytes(value) {
|
|
|
9849
9926
|
return Math.round(amount * (suffix === "Ti" ? 1024 ** 4 : suffix === "Gi" ? 1024 ** 3 : suffix === "Mi" ? 1024 ** 2 : suffix === "Ki" ? 1024 : suffix === "T" ? 1e3 ** 4 : suffix === "G" ? 1e3 ** 3 : suffix === "M" ? 1e3 ** 2 : suffix === "k" ? 1e3 : 1));
|
|
9850
9927
|
}
|
|
9851
9928
|
//#endregion
|
|
9929
|
+
//#region src/key.ts
|
|
9930
|
+
const InvalidEncryptionKey = defineError({
|
|
9931
|
+
code: "INVALID_ENCRYPTION_KEY",
|
|
9932
|
+
context: z.object({ resourceType: z.string() }),
|
|
9933
|
+
message: ({ resourceType }) => `Encryption requires an alien.Key, received '${resourceType}'`,
|
|
9934
|
+
retryable: false,
|
|
9935
|
+
internal: false,
|
|
9936
|
+
httpStatusCode: 400
|
|
9937
|
+
});
|
|
9938
|
+
/** Validates and returns the reference shared by resources with native encryption. */
|
|
9939
|
+
function encryptionKeyRef(key) {
|
|
9940
|
+
if (key.config.type !== "key") throw new AlienError(InvalidEncryptionKey.create({ resourceType: key.config.type }));
|
|
9941
|
+
return key.ref();
|
|
9942
|
+
}
|
|
9943
|
+
/** A customer-managed encryption key. */
|
|
9944
|
+
var Key = class extends ResourceBuilder {
|
|
9945
|
+
_config = {};
|
|
9946
|
+
constructor(id) {
|
|
9947
|
+
super();
|
|
9948
|
+
this._config.id = id;
|
|
9949
|
+
}
|
|
9950
|
+
static any() {
|
|
9951
|
+
return "key";
|
|
9952
|
+
}
|
|
9953
|
+
build() {
|
|
9954
|
+
const config = KeySchema.parse(this._config);
|
|
9955
|
+
return this.resource({
|
|
9956
|
+
type: "key",
|
|
9957
|
+
...config
|
|
9958
|
+
});
|
|
9959
|
+
}
|
|
9960
|
+
};
|
|
9961
|
+
//#endregion
|
|
9852
9962
|
//#region src/container.ts
|
|
9853
9963
|
/**
|
|
9854
9964
|
* Represents a long-running container workload.
|
|
@@ -9908,16 +10018,34 @@ var Container = class extends ResourceBuilder {
|
|
|
9908
10018
|
*
|
|
9909
10019
|
* For advanced configuration, use ResourceSpec:
|
|
9910
10020
|
* - `.cpu({ min: "0.5", desired: "1" })`
|
|
10021
|
+
* - `.cpu({ min: 0.5, max: 4, default: 1 })` permits a deployment-time selection.
|
|
9911
10022
|
*
|
|
9912
10023
|
* @param value CPU in vCPUs (number) or ResourceSpec with min/desired.
|
|
9913
10024
|
* @returns The Container builder instance.
|
|
9914
10025
|
*/
|
|
9915
10026
|
cpu(value) {
|
|
9916
|
-
if (typeof value === "number")
|
|
9917
|
-
|
|
9918
|
-
|
|
9919
|
-
|
|
9920
|
-
|
|
10027
|
+
if (typeof value === "number") {
|
|
10028
|
+
this._config.cpu = {
|
|
10029
|
+
min: value.toString(),
|
|
10030
|
+
desired: value.toString()
|
|
10031
|
+
};
|
|
10032
|
+
if (this._config.resourceChoices) this._config.resourceChoices.cpu = void 0;
|
|
10033
|
+
} else if ("default" in value) {
|
|
10034
|
+
this._config.resourceChoices ??= {};
|
|
10035
|
+
this._config.resourceChoices.cpu = {
|
|
10036
|
+
min: value.min.toString(),
|
|
10037
|
+
max: value.max.toString(),
|
|
10038
|
+
default: value.default.toString()
|
|
10039
|
+
};
|
|
10040
|
+
this._config.cpu = {
|
|
10041
|
+
min: value.default.toString(),
|
|
10042
|
+
desired: value.default.toString()
|
|
10043
|
+
};
|
|
10044
|
+
} else {
|
|
10045
|
+
this._config.cpu = value;
|
|
10046
|
+
if (this._config.resourceChoices) this._config.resourceChoices.cpu = void 0;
|
|
10047
|
+
}
|
|
10048
|
+
if (!this._config.resourceChoices?.cpu && !this._config.resourceChoices?.memory) this._config.resourceChoices = void 0;
|
|
9921
10049
|
return this;
|
|
9922
10050
|
}
|
|
9923
10051
|
/**
|
|
@@ -9927,15 +10055,27 @@ var Container = class extends ResourceBuilder {
|
|
|
9927
10055
|
* to set them separately on Kubernetes.
|
|
9928
10056
|
*
|
|
9929
10057
|
* Examples: `.memory("512Mi")`, `.memory({ min: "128Mi", desired: "512Mi" })`
|
|
10058
|
+
* Use `{ min: "512Mi", max: "8Gi", default: "2Gi" }` for deployment-time choices.
|
|
9930
10059
|
*
|
|
9931
10060
|
* @param value Memory size string or ResourceSpec with min/desired.
|
|
9932
10061
|
* @returns The Container builder instance.
|
|
9933
10062
|
*/
|
|
9934
10063
|
memory(value) {
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
10064
|
+
if (typeof value === "object" && "default" in value) {
|
|
10065
|
+
this._config.resourceChoices ??= {};
|
|
10066
|
+
this._config.resourceChoices.memory = value;
|
|
10067
|
+
this._config.memory = {
|
|
10068
|
+
min: value.default,
|
|
10069
|
+
desired: value.default
|
|
10070
|
+
};
|
|
10071
|
+
} else {
|
|
10072
|
+
this._config.memory = typeof value === "string" ? {
|
|
10073
|
+
min: value,
|
|
10074
|
+
desired: value
|
|
10075
|
+
} : value;
|
|
10076
|
+
if (this._config.resourceChoices) this._config.resourceChoices.memory = void 0;
|
|
10077
|
+
}
|
|
10078
|
+
if (!this._config.resourceChoices?.cpu && !this._config.resourceChoices?.memory) this._config.resourceChoices = void 0;
|
|
9939
10079
|
return this;
|
|
9940
10080
|
}
|
|
9941
10081
|
/**
|
|
@@ -10094,7 +10234,7 @@ var Container = class extends ResourceBuilder {
|
|
|
10094
10234
|
* Configures persistent storage and marks the container stateful.
|
|
10095
10235
|
* Data survives container restarts.
|
|
10096
10236
|
* @param size Storage size (e.g., "100Gi", "500Gi", "1Ti").
|
|
10097
|
-
* @param options Optional mount path and backup schedule.
|
|
10237
|
+
* @param options Optional mount path, encryption key, and backup schedule.
|
|
10098
10238
|
* @returns The Container builder instance.
|
|
10099
10239
|
*/
|
|
10100
10240
|
persistentStorage(size, options = {}) {
|
|
@@ -10102,6 +10242,7 @@ var Container = class extends ResourceBuilder {
|
|
|
10102
10242
|
size,
|
|
10103
10243
|
mountPath: options.mountPath ?? "/data"
|
|
10104
10244
|
};
|
|
10245
|
+
if (options.encryptionKey !== void 0) persistentStorage.encryptionKey = encryptionKeyRef(options.encryptionKey);
|
|
10105
10246
|
if (options.backups !== void 0) persistentStorage.backups = options.backups === false ? {
|
|
10106
10247
|
enabled: false,
|
|
10107
10248
|
intervalHours: 24,
|
|
@@ -10794,26 +10935,6 @@ function integerToString(value, field) {
|
|
|
10794
10935
|
return String(value);
|
|
10795
10936
|
}
|
|
10796
10937
|
//#endregion
|
|
10797
|
-
//#region src/key.ts
|
|
10798
|
-
/** A customer-managed encryption key. */
|
|
10799
|
-
var Key = class extends ResourceBuilder {
|
|
10800
|
-
_config = {};
|
|
10801
|
-
constructor(id) {
|
|
10802
|
-
super();
|
|
10803
|
-
this._config.id = id;
|
|
10804
|
-
}
|
|
10805
|
-
static any() {
|
|
10806
|
-
return "key";
|
|
10807
|
-
}
|
|
10808
|
-
build() {
|
|
10809
|
-
const config = KeySchema.parse(this._config);
|
|
10810
|
-
return this.resource({
|
|
10811
|
-
type: "key",
|
|
10812
|
-
...config
|
|
10813
|
-
});
|
|
10814
|
-
}
|
|
10815
|
-
};
|
|
10816
|
-
//#endregion
|
|
10817
10938
|
//#region src/kv.ts
|
|
10818
10939
|
/**
|
|
10819
10940
|
* Represents a key-value store for data storage.
|
|
@@ -11002,6 +11123,11 @@ var Postgres = class extends ResourceBuilder {
|
|
|
11002
11123
|
this._config.highAvailability = value;
|
|
11003
11124
|
return this;
|
|
11004
11125
|
}
|
|
11126
|
+
/** Uses a Key in the same stack to encrypt database storage and snapshots. Immutable after creation. */
|
|
11127
|
+
encryptionKey(key) {
|
|
11128
|
+
this._config.encryptionKey = encryptionKeyRef(key);
|
|
11129
|
+
return this;
|
|
11130
|
+
}
|
|
11005
11131
|
/**
|
|
11006
11132
|
* Builds and validates the postgres configuration.
|
|
11007
11133
|
* @returns An immutable Resource representing the configured database.
|
|
@@ -11427,8 +11553,7 @@ var Storage = class extends ResourceBuilder {
|
|
|
11427
11553
|
* The Key and Storage must both be added to the same stack.
|
|
11428
11554
|
*/
|
|
11429
11555
|
encryptionKey(key) {
|
|
11430
|
-
|
|
11431
|
-
this._config.encryptionKey = key.ref();
|
|
11556
|
+
this._config.encryptionKey = encryptionKeyRef(key);
|
|
11432
11557
|
return this;
|
|
11433
11558
|
}
|
|
11434
11559
|
/**
|
|
@@ -11781,6 +11906,6 @@ function validateOcu(field, value, allowZero) {
|
|
|
11781
11906
|
//#region src/index.ts
|
|
11782
11907
|
const experimental = { AwsOpenSearch };
|
|
11783
11908
|
//#endregion
|
|
11784
|
-
export { AI, AgentStatusSchema, AiSchema as AiConfigSchema, AlienError, AlienErrorSchema as AlienErrorOptionsSchema, AlienEventSchema, ArtifactRegistry, ArtifactRegistrySchema as ArtifactRegistryConfigSchema, ArtifactRegistryHeartbeatDataSchema, ArtifactRegistryHeartbeatStatusSchema, AwsArtifactRegistryImportDataSchema, AwsBuildImportDataSchema, AwsCodeBuildHeartbeatDataSchema, AwsComputeClusterHeartbeatDataSchema, AwsComputeClusterImportDataSchema, AwsDynamoDbKeySchemaElementSchema, AwsDynamoDbKvHeartbeatDataSchema, AwsEcrArtifactRegistryHeartbeatDataSchema, AwsEcrRepositoryHeartbeatDataSchema, AwsIamRoleServiceAccountHeartbeatDataSchema, AwsKvImportDataSchema, AwsLambdaWorkerHeartbeatDataSchema, AwsNetworkImportDataSchema, AwsParameterStoreVaultHeartbeatDataSchema, AwsQueueImportDataSchema, AwsRemoteStackManagementHeartbeatDataSchema, AwsRemoteStackManagementImportDataSchema, AwsS3StorageHeartbeatDataSchema, AwsServiceAccountImportDataSchema, AwsSqsQueueHeartbeatDataSchema, AwsStorageImportDataSchema, AwsVaultImportDataSchema, AwsVpcNetworkHeartbeatDataSchema, AwsWorkerImportDataSchema, AzureArtifactRegistryImportDataSchema, AzureBlobStorageHeartbeatDataSchema, AzureBuildImportDataSchema, AzureComputeClusterHeartbeatDataSchema, AzureComputeClusterImportDataSchema, AzureContainerAppsBuildHeartbeatDataSchema, AzureContainerAppsEnvironmentHeartbeatDataSchema, AzureContainerAppsEnvironmentHeartbeatStatusSchema, AzureContainerAppsEnvironmentImportDataSchema, AzureContainerAppsEnvironmentWorkloadProfileSchema, AzureContainerAppsWorkerHeartbeatDataSchema, AzureContainerRegistryHeartbeatDataSchema, AzureKeyVaultHeartbeatDataSchema, AzureKvImportDataSchema, AzureManagedIdentityServiceAccountHeartbeatDataSchema, AzureNetworkImportDataSchema, AzureQueueImportDataSchema, AzureRemoteStackManagementHeartbeatDataSchema, AzureRemoteStackManagementImportDataSchema, AzureResourceGroupHeartbeatDataSchema, AzureResourceGroupHeartbeatStatusSchema, AzureResourceGroupImportDataSchema, AzureResourceProviderActivationHeartbeatDataSchema, AzureServiceAccountImportDataSchema, AzureServiceActivationImportDataSchema, AzureServiceBusNamespaceHeartbeatDataSchema, AzureServiceBusNamespaceImportDataSchema, AzureServiceBusQueueHeartbeatDataSchema, AzureStorageAccountEndpointsSchema, AzureStorageAccountHeartbeatDataSchema, AzureStorageAccountImportDataSchema, AzureStorageImportDataSchema, AzureTableKvHeartbeatDataSchema, AzureVaultImportDataSchema, AzureVnetNetworkHeartbeatDataSchema, AzureWorkerImportDataSchema, BindingNotFoundError, BodySpecSchema, Build, BuildConfigSchema, BuildHeartbeatDataSchema, BuildHeartbeatStatusSchema, BuildOutputsSchema, BuildStatusSchema, CapacityGroupScalePolicySchema, CapacityGroupSchema, CommandDeliveryModeSchema, CommandResponseSchema, CommandStateSchema, CommandStatusResponseSchema, CommandTargetSchema, CommandTargetTypeSchema, ComputeCapacityGroupStatusSchema, ComputeCapacityRecommendationSchema, ComputeChoiceRangeSchema, ComputeCluster, ComputeClusterSchema as ComputeClusterConfigSchema, ComputeClusterHeartbeatDataSchema, ComputeClusterHeartbeatStatusSchema, ComputePoolSelectionSchema, ComputeSettingsSchema, ComputeTypeSchema, Container, ContainerAutoscalingSchema, ContainerCodeSchema, ContainerSchema as ContainerConfigSchema, ContainerHeartbeatDataSchema, ContainerImageIdentitySchema, ContainerPortSchema, CreateCommandRequestSchema, CreateCommandResponseSchema, Daemon, DaemonCodeSchema, DaemonSchema as DaemonConfigSchema, DaemonHeartbeatDataSchema, DaemonOutputsSchema, DeployerSecretLocationSchema, DeployerSecretReportSchema, DeployerSecretStatusSchema, DeployerSecretStoreSchema, DeploymentModelSchema, DevResourceInfoSchema, DevStatusSchema, DevStatusStateSchema, Email, EmailSchema as EmailConfigSchema, EndpointAccessSchema, EnvelopeSchema, EventChangeSchema, EventStateSchema, ExposeProtocolSchema, ExternalBindingSchema, ExternalBindingsSchema, FailureDomainSelectionSchema, GcpArtifactRegistryHeartbeatDataSchema, GcpArtifactRegistryImportDataSchema, GcpBuildImportDataSchema, GcpCloudBuildHeartbeatDataSchema, GcpCloudRunWorkerHeartbeatDataSchema, GcpCloudStorageHeartbeatDataSchema, GcpComputeClusterHeartbeatDataSchema, GcpComputeClusterImportDataSchema, GcpFirestoreKvHeartbeatDataSchema, GcpKvImportDataSchema, GcpNetworkImportDataSchema, GcpPubSubQueueHeartbeatDataSchema, GcpQueueImportDataSchema, GcpRemoteStackManagementHeartbeatDataSchema, GcpRemoteStackManagementImportDataSchema, GcpSecretManagerVaultHeartbeatDataSchema, GcpServiceAccountHeartbeatDataSchema, GcpServiceAccountImportDataSchema, GcpServiceActivationImportDataSchema, GcpServiceUsageActivationHeartbeatDataSchema, GcpStorageImportDataSchema, GcpVaultImportDataSchema, GcpVpcNetworkHeartbeatDataSchema, GcpWorkerImportDataSchema, HeartbeatBackendSchema, HeartbeatIssueSeveritySchema, HeartbeatsModeSchema, HorizonContainerHeartbeatDataSchema, HttpMethodSchema, InvalidBindingConfigError, Key, KeySchema as KeyConfigSchema, KubernetesBuildHeartbeatDataSchema, KubernetesClusterNodeStatusSchema, KubernetesContainerHeartbeatDataSchema, KubernetesDaemonHeartbeatDataSchema, KubernetesEventInvolvedObjectSchema, KubernetesEventSnapshotSchema, KubernetesEventSourceSchema, KubernetesNodeConditionStatusSchema, KubernetesNodeResourcesSchema, KubernetesNodeUsageSchema, KubernetesPodRuntimeUnitStatusSchema, KubernetesSecretVaultHeartbeatDataSchema, KubernetesWorkerHeartbeatDataSchema, Kv, KvSchema as KvConfigSchema, KvHeartbeatDataSchema, KvHeartbeatStatusSchema, LeaseInfoSchema, LeaseRequestSchema, LeaseResponseSchema, LocalArtifactRegistryHeartbeatDataSchema, LocalComputeClusterHeartbeatDataSchema, LocalContainerHeartbeatDataSchema, LocalDaemonHeartbeatDataSchema, LocalKvHeartbeatDataSchema, LocalQueueHeartbeatDataSchema, LocalRuntimeEventSnapshotSchema, LocalRuntimeEventSubjectSchema, LocalRuntimeUnitKindSchema, LocalRuntimeUnitStatusSchema, LocalServiceAccountHeartbeatDataSchema, LocalStorageHeartbeatDataSchema, LocalVaultHeartbeatDataSchema, LocalWorkerHeartbeatDataSchema, MachineProfileSchema, ManagedRuntimeEventInvolvedObjectSchema, ManagedRuntimeEventSnapshotSchema, ManagedRuntimeEventSourceSchema, ManagedRuntimeUnitStatusSchema, MessagePayloadSchema, MetricSampleSchema, NetworkHeartbeatDataSchema, NetworkHeartbeatStatusSchema, ObservedApplicationImageSchema, ObservedApplicationReportSchema, ObservedApplicationSourceSchema, ObservedCountsSchema, ObservedHealthSchema, ObservedInventoryBatchSchema, ObservedResourceSampleSchema, OperationsConfigSchema, OperatorImageReportSchema, OperatorImageSourceSchema, PermissionSetSchema, PlatformSchema, Postgres, PostgresSchema as PostgresConfigSchema, PresignedRequestBackendSchema, PresignedRequestSchema, ProviderFleetStatusSchema, ProviderLifecycleStateSchema, PublicEndpointSchema, PublicEndpointTargetSettingsSchema, Queue, QueueSchema as QueueConfigSchema, QueueHeartbeatDataSchema, QueueHeartbeatStatusSchema, QueueMessageSchema, ReadinessProbeSchema, ReleaseRequestSchema, RemoteStackManagementHeartbeatDataSchema, RemoteStackManagementHeartbeatStatusSchema, Resource, ResourceHeartbeatDataSchema, ResourceHeartbeatSchema, ResourceLifecycleSchema, ResourceNotFoundError, ResourceOutputsParseError, ResourceRefSchema, ResourceSchemaMapping, ResourceStatusSchema, ResourceTypeSchema, ResponseHandlingSchema, STACK_INPUT_GENERATE_MAX_LENGTH, STACK_INPUT_GENERATE_MIN_LENGTH, Sandbox, SandboxSchema as SandboxConfigSchema, ScheduledEventSchema, ServiceAccount, ServiceAccountSchema as ServiceAccountConfigSchema, ServiceAccountHeartbeatDataSchema, ServiceAccountHeartbeatStatusSchema, ServiceAccountOutputsSchema, ServiceActivationHeartbeatDataSchema, ServiceActivationHeartbeatStatusSchema, Stack, StackInputDefaultValueSchema, StackInputDefinitionSchema, StackInputEnvironmentMappingSchema, StackInputEnvironmentVariableTypeSchema, StackInputKindSchema, StackInputProviderSchema, StackInputValidationSchema, StackResourceStateSchema, StackSchema, StackSettingsSchema, StackStateSchema, StackStatusSchema, Storage, StorageSchema as StorageConfigSchema, StorageEventSchema, StorageEventTypeSchema, StorageEventsSchema, StorageHeartbeatDataSchema, StorageHeartbeatStatusSchema, StorageUploadSchema, SubmitResponseRequestSchema, TelemetryModeSchema, TraceContextSchema, UnexpectedResourceTypeError, UpdatesModeSchema, UploadCompleteRequestSchema, UploadCompleteResponseSchema, ValueSchema, Vault, VaultSchema as VaultConfigSchema, VaultHeartbeatDataSchema, VaultHeartbeatStatusSchema, Worker, WorkerSchema as WorkerConfigSchema, WorkerHeartbeatDataSchema, WorkerOutputsSchema, WorkerPublicEndpointSchema, WorkerTriggerSchema, WorkloadHeartbeatStatusSchema, WorkloadReplicaStatusSchema, defineBooleanInput as boolean, defineError, defineEnumInput as enum, experimental, getResourceOutputs, getStackInputDefinitions, inputs, defineIntegerInput as integer, isDeployerSecretInput, defineNumberInput as number, defineSecretInput as secret, defineStringInput as string, defineStringListInput as stringList, toOperationsConfig };
|
|
11909
|
+
export { AI, AgentStatusSchema, AiSchema as AiConfigSchema, AlienError, AlienErrorSchema as AlienErrorOptionsSchema, AlienEventSchema, ArtifactRegistry, ArtifactRegistrySchema as ArtifactRegistryConfigSchema, ArtifactRegistryHeartbeatDataSchema, ArtifactRegistryHeartbeatStatusSchema, AwsArtifactRegistryImportDataSchema, AwsBuildImportDataSchema, AwsCodeBuildHeartbeatDataSchema, AwsComputeClusterHeartbeatDataSchema, AwsComputeClusterImportDataSchema, AwsDynamoDbKeySchemaElementSchema, AwsDynamoDbKvHeartbeatDataSchema, AwsEcrArtifactRegistryHeartbeatDataSchema, AwsEcrRepositoryHeartbeatDataSchema, AwsIamRoleServiceAccountHeartbeatDataSchema, AwsKvImportDataSchema, AwsLambdaWorkerHeartbeatDataSchema, AwsNetworkImportDataSchema, AwsParameterStoreVaultHeartbeatDataSchema, AwsQueueImportDataSchema, AwsRemoteStackManagementHeartbeatDataSchema, AwsRemoteStackManagementImportDataSchema, AwsS3StorageHeartbeatDataSchema, AwsServiceAccountImportDataSchema, AwsSqsQueueHeartbeatDataSchema, AwsStorageImportDataSchema, AwsVaultImportDataSchema, AwsVpcNetworkHeartbeatDataSchema, AwsWorkerImportDataSchema, AzureArtifactRegistryImportDataSchema, AzureBlobStorageHeartbeatDataSchema, AzureBuildImportDataSchema, AzureComputeClusterHeartbeatDataSchema, AzureComputeClusterImportDataSchema, AzureContainerAppsBuildHeartbeatDataSchema, AzureContainerAppsEnvironmentHeartbeatDataSchema, AzureContainerAppsEnvironmentHeartbeatStatusSchema, AzureContainerAppsEnvironmentImportDataSchema, AzureContainerAppsEnvironmentWorkloadProfileSchema, AzureContainerAppsWorkerHeartbeatDataSchema, AzureContainerRegistryHeartbeatDataSchema, AzureKeyVaultHeartbeatDataSchema, AzureKvImportDataSchema, AzureManagedIdentityServiceAccountHeartbeatDataSchema, AzureNetworkImportDataSchema, AzureQueueImportDataSchema, AzureRemoteStackManagementHeartbeatDataSchema, AzureRemoteStackManagementImportDataSchema, AzureResourceGroupHeartbeatDataSchema, AzureResourceGroupHeartbeatStatusSchema, AzureResourceGroupImportDataSchema, AzureResourceProviderActivationHeartbeatDataSchema, AzureServiceAccountImportDataSchema, AzureServiceActivationImportDataSchema, AzureServiceBusNamespaceHeartbeatDataSchema, AzureServiceBusNamespaceImportDataSchema, AzureServiceBusQueueHeartbeatDataSchema, AzureStorageAccountEndpointsSchema, AzureStorageAccountHeartbeatDataSchema, AzureStorageAccountImportDataSchema, AzureStorageImportDataSchema, AzureTableKvHeartbeatDataSchema, AzureVaultImportDataSchema, AzureVnetNetworkHeartbeatDataSchema, AzureWorkerImportDataSchema, BindingNotFoundError, BodySpecSchema, Build, BuildConfigSchema, BuildHeartbeatDataSchema, BuildHeartbeatStatusSchema, BuildOutputsSchema, BuildStatusSchema, CapacityGroupScalePolicySchema, CapacityGroupSchema, CommandDeliveryModeSchema, CommandResponseSchema, CommandStateSchema, CommandStatusResponseSchema, CommandTargetSchema, CommandTargetTypeSchema, ComputeCapacityGroupStatusSchema, ComputeCapacityRecommendationSchema, ComputeChoiceRangeSchema, ComputeCluster, ComputeClusterSchema as ComputeClusterConfigSchema, ComputeClusterHeartbeatDataSchema, ComputeClusterHeartbeatStatusSchema, ComputePoolSelectionSchema, ComputeSettingsSchema, ComputeTypeSchema, Container, ContainerAutoscalingSchema, ContainerCodeSchema, ContainerSchema as ContainerConfigSchema, ContainerHeartbeatDataSchema, ContainerImageIdentitySchema, ContainerPortSchema, ContainerResourceChoicesSchema, ContainerResourceSelectionSchema, CreateCommandRequestSchema, CreateCommandResponseSchema, Daemon, DaemonCodeSchema, DaemonSchema as DaemonConfigSchema, DaemonHeartbeatDataSchema, DaemonOutputsSchema, DeployerSecretLocationSchema, DeployerSecretReportSchema, DeployerSecretStatusSchema, DeployerSecretStoreSchema, DeploymentModelSchema, DevResourceInfoSchema, DevStatusSchema, DevStatusStateSchema, Email, EmailSchema as EmailConfigSchema, EndpointAccessSchema, EnvelopeSchema, EventChangeSchema, EventStateSchema, ExposeProtocolSchema, ExternalBindingSchema, ExternalBindingsSchema, FailureDomainSelectionSchema, GcpArtifactRegistryHeartbeatDataSchema, GcpArtifactRegistryImportDataSchema, GcpBuildImportDataSchema, GcpCloudBuildHeartbeatDataSchema, GcpCloudRunWorkerHeartbeatDataSchema, GcpCloudStorageHeartbeatDataSchema, GcpComputeClusterHeartbeatDataSchema, GcpComputeClusterImportDataSchema, GcpFirestoreKvHeartbeatDataSchema, GcpKvImportDataSchema, GcpNetworkImportDataSchema, GcpPubSubQueueHeartbeatDataSchema, GcpQueueImportDataSchema, GcpRemoteStackManagementHeartbeatDataSchema, GcpRemoteStackManagementImportDataSchema, GcpSecretManagerVaultHeartbeatDataSchema, GcpServiceAccountHeartbeatDataSchema, GcpServiceAccountImportDataSchema, GcpServiceActivationImportDataSchema, GcpServiceUsageActivationHeartbeatDataSchema, GcpStorageImportDataSchema, GcpVaultImportDataSchema, GcpVpcNetworkHeartbeatDataSchema, GcpWorkerImportDataSchema, HeartbeatBackendSchema, HeartbeatIssueSeveritySchema, HeartbeatsModeSchema, HorizonContainerHeartbeatDataSchema, HttpMethodSchema, InvalidBindingConfigError, Key, KeySchema as KeyConfigSchema, KubernetesBuildHeartbeatDataSchema, KubernetesClusterNodeStatusSchema, KubernetesContainerHeartbeatDataSchema, KubernetesDaemonHeartbeatDataSchema, KubernetesEventInvolvedObjectSchema, KubernetesEventSnapshotSchema, KubernetesEventSourceSchema, KubernetesNodeConditionStatusSchema, KubernetesNodeResourcesSchema, KubernetesNodeUsageSchema, KubernetesPodRuntimeUnitStatusSchema, KubernetesSecretVaultHeartbeatDataSchema, KubernetesWorkerHeartbeatDataSchema, Kv, KvSchema as KvConfigSchema, KvHeartbeatDataSchema, KvHeartbeatStatusSchema, LeaseInfoSchema, LeaseRequestSchema, LeaseResponseSchema, LocalArtifactRegistryHeartbeatDataSchema, LocalComputeClusterHeartbeatDataSchema, LocalContainerHeartbeatDataSchema, LocalDaemonHeartbeatDataSchema, LocalKvHeartbeatDataSchema, LocalQueueHeartbeatDataSchema, LocalRuntimeEventSnapshotSchema, LocalRuntimeEventSubjectSchema, LocalRuntimeUnitKindSchema, LocalRuntimeUnitStatusSchema, LocalServiceAccountHeartbeatDataSchema, LocalStorageHeartbeatDataSchema, LocalVaultHeartbeatDataSchema, LocalWorkerHeartbeatDataSchema, MachineProfileSchema, ManagedRuntimeEventInvolvedObjectSchema, ManagedRuntimeEventSnapshotSchema, ManagedRuntimeEventSourceSchema, ManagedRuntimeUnitStatusSchema, MessagePayloadSchema, MetricSampleSchema, NetworkHeartbeatDataSchema, NetworkHeartbeatStatusSchema, ObservedApplicationImageSchema, ObservedApplicationReportSchema, ObservedApplicationSourceSchema, ObservedCountsSchema, ObservedHealthSchema, ObservedInventoryBatchSchema, ObservedResourceSampleSchema, OperationsConfigSchema, OperatorImageReportSchema, OperatorImageSourceSchema, PermissionSetSchema, PlatformSchema, Postgres, PostgresSchema as PostgresConfigSchema, PresignedRequestBackendSchema, PresignedRequestSchema, ProviderFleetStatusSchema, ProviderLifecycleStateSchema, PublicEndpointSchema, PublicEndpointTargetSettingsSchema, Queue, QueueSchema as QueueConfigSchema, QueueHeartbeatDataSchema, QueueHeartbeatStatusSchema, QueueMessageSchema, ReadinessProbeSchema, ReleaseRequestSchema, RemoteStackManagementHeartbeatDataSchema, RemoteStackManagementHeartbeatStatusSchema, Resource, ResourceChoiceRangeSchema, ResourceHeartbeatDataSchema, ResourceHeartbeatSchema, ResourceLifecycleSchema, ResourceNotFoundError, ResourceOutputsParseError, ResourceRefSchema, ResourceSchemaMapping, ResourceStatusSchema, ResourceTypeSchema, ResponseHandlingSchema, STACK_INPUT_GENERATE_MAX_LENGTH, STACK_INPUT_GENERATE_MIN_LENGTH, Sandbox, SandboxSchema as SandboxConfigSchema, ScheduledEventSchema, ServiceAccount, ServiceAccountSchema as ServiceAccountConfigSchema, ServiceAccountHeartbeatDataSchema, ServiceAccountHeartbeatStatusSchema, ServiceAccountOutputsSchema, ServiceActivationHeartbeatDataSchema, ServiceActivationHeartbeatStatusSchema, Stack, StackInputDefaultValueSchema, StackInputDefinitionSchema, StackInputEnvironmentMappingSchema, StackInputEnvironmentVariableTypeSchema, StackInputKindSchema, StackInputProviderSchema, StackInputValidationSchema, StackResourceStateSchema, StackSchema, StackSettingsSchema, StackStateSchema, StackStatusSchema, Storage, StorageSchema as StorageConfigSchema, StorageEventSchema, StorageEventTypeSchema, StorageEventsSchema, StorageHeartbeatDataSchema, StorageHeartbeatStatusSchema, StorageUploadSchema, SubmitResponseRequestSchema, TelemetryModeSchema, TraceContextSchema, UnexpectedResourceTypeError, UpdatesModeSchema, UploadCompleteRequestSchema, UploadCompleteResponseSchema, ValueSchema, Vault, VaultSchema as VaultConfigSchema, VaultHeartbeatDataSchema, VaultHeartbeatStatusSchema, Worker, WorkerSchema as WorkerConfigSchema, WorkerHeartbeatDataSchema, WorkerOutputsSchema, WorkerPublicEndpointSchema, WorkerTriggerSchema, WorkloadHeartbeatStatusSchema, WorkloadReplicaStatusSchema, defineBooleanInput as boolean, defineError, encryptionKeyRef, defineEnumInput as enum, experimental, getResourceOutputs, getStackInputDefinitions, inputs, defineIntegerInput as integer, isDeployerSecretInput, defineNumberInput as number, defineSecretInput as secret, defineStringInput as string, defineStringListInput as stringList, toOperationsConfig };
|
|
11785
11910
|
|
|
11786
11911
|
//# sourceMappingURL=index.js.map
|