@alienplatform/core 3.3.12 → 3.3.13
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 +892 -288
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +298 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -85,6 +85,112 @@ const AgentStatusSchema = z$2.object({
|
|
|
85
85
|
}
|
|
86
86
|
}).describe("Status of a single agent in the dev server");
|
|
87
87
|
//#endregion
|
|
88
|
+
//#region src/generated/zod/ai-access-test-schema.ts
|
|
89
|
+
/**
|
|
90
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
91
|
+
* Do not edit manually.
|
|
92
|
+
*/
|
|
93
|
+
const AiAccessTestSchema = z$2.enum([
|
|
94
|
+
"verified",
|
|
95
|
+
"failed",
|
|
96
|
+
"not-checked"
|
|
97
|
+
]);
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/generated/zod/ai-availability-blocker-schema.ts
|
|
100
|
+
/**
|
|
101
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
102
|
+
* Do not edit manually.
|
|
103
|
+
*/
|
|
104
|
+
const AiAvailabilityBlockerSchema = z$2.enum([
|
|
105
|
+
"agreement-required",
|
|
106
|
+
"entitlement-required",
|
|
107
|
+
"model-activation-required",
|
|
108
|
+
"deployment-required",
|
|
109
|
+
"quota-configuration-required",
|
|
110
|
+
"region-unavailable",
|
|
111
|
+
"access-denied",
|
|
112
|
+
"observation-failed"
|
|
113
|
+
]);
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/generated/zod/ai-availability-source-schema.ts
|
|
116
|
+
/**
|
|
117
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
118
|
+
* Do not edit manually.
|
|
119
|
+
*/
|
|
120
|
+
/**
|
|
121
|
+
* @description Provider control plane used to observe model availability without invoking\na model, spending customer quota, or accepting provider terms.
|
|
122
|
+
*/
|
|
123
|
+
const AiAvailabilitySourceSchema = z$2.enum([
|
|
124
|
+
"aws-bedrock",
|
|
125
|
+
"gcp-vertex",
|
|
126
|
+
"azure-foundry",
|
|
127
|
+
"anthropic"
|
|
128
|
+
]).describe("Provider control plane used to observe model availability without invoking\na model, spending customer quota, or accepting provider terms.");
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/generated/zod/ai-model-availability-schema.ts
|
|
131
|
+
/**
|
|
132
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
133
|
+
* Do not edit manually.
|
|
134
|
+
*/
|
|
135
|
+
const AiModelAvailabilitySchema = z$2.enum([
|
|
136
|
+
"available",
|
|
137
|
+
"blocked",
|
|
138
|
+
"unknown"
|
|
139
|
+
]);
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/generated/zod/client-api-schema.ts
|
|
142
|
+
/**
|
|
143
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
144
|
+
* Do not edit manually.
|
|
145
|
+
*/
|
|
146
|
+
/**
|
|
147
|
+
* @description A public API accepted from an application client.
|
|
148
|
+
*/
|
|
149
|
+
const ClientApiSchema = z$2.enum([
|
|
150
|
+
"open-ai-chat-completions",
|
|
151
|
+
"open-ai-responses",
|
|
152
|
+
"anthropic-messages"
|
|
153
|
+
]).describe("A public API accepted from an application client.");
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/generated/zod/ai-model-availability-observation-schema.ts
|
|
156
|
+
/**
|
|
157
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
158
|
+
* Do not edit manually.
|
|
159
|
+
*/
|
|
160
|
+
const AiModelAvailabilityObservationSchema = z$2.object({
|
|
161
|
+
get "accessTest"() {
|
|
162
|
+
return AiAccessTestSchema;
|
|
163
|
+
},
|
|
164
|
+
get "availability"() {
|
|
165
|
+
return AiModelAvailabilitySchema;
|
|
166
|
+
},
|
|
167
|
+
get "blockers"() {
|
|
168
|
+
return z$2.array(AiAvailabilityBlockerSchema);
|
|
169
|
+
},
|
|
170
|
+
get "clientApis"() {
|
|
171
|
+
return z$2.array(ClientApiSchema.describe("A public API accepted from an application client."));
|
|
172
|
+
},
|
|
173
|
+
"errorCode": z$2.string().nullish(),
|
|
174
|
+
"publicModelId": z$2.string(),
|
|
175
|
+
"testedAt": z$2.iso.datetime().nullish()
|
|
176
|
+
});
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region src/generated/zod/ai-availability-observation-schema.ts
|
|
179
|
+
/**
|
|
180
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
181
|
+
* Do not edit manually.
|
|
182
|
+
*/
|
|
183
|
+
const AiAvailabilityObservationSchema = z$2.object({
|
|
184
|
+
"catalogRevision": z$2.string(),
|
|
185
|
+
"location": z$2.string().nullish(),
|
|
186
|
+
get "models"() {
|
|
187
|
+
return z$2.array(AiModelAvailabilityObservationSchema);
|
|
188
|
+
},
|
|
189
|
+
get "source"() {
|
|
190
|
+
return AiAvailabilitySourceSchema.describe("Provider control plane used to observe model availability without invoking\na model, spending customer quota, or accepting provider terms.");
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
//#endregion
|
|
88
194
|
//#region src/generated/zod/heartbeat-collection-issue-reason-schema.ts
|
|
89
195
|
/**
|
|
90
196
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -181,6 +287,9 @@ const AiHeartbeatStatusSchema = z$2.object({
|
|
|
181
287
|
* Do not edit manually.
|
|
182
288
|
*/
|
|
183
289
|
const AwsBedrockAiHeartbeatDataSchema = z$2.object({
|
|
290
|
+
get "availability"() {
|
|
291
|
+
return AiAvailabilityObservationSchema;
|
|
292
|
+
},
|
|
184
293
|
"region": z$2.string(),
|
|
185
294
|
get "status"() {
|
|
186
295
|
return AiHeartbeatStatusSchema;
|
|
@@ -194,6 +303,9 @@ const AwsBedrockAiHeartbeatDataSchema = z$2.object({
|
|
|
194
303
|
*/
|
|
195
304
|
const AzureFoundryAiHeartbeatDataSchema = z$2.object({
|
|
196
305
|
"accountName": z$2.string(),
|
|
306
|
+
get "availability"() {
|
|
307
|
+
return AiAvailabilityObservationSchema;
|
|
308
|
+
},
|
|
197
309
|
"endpoint": z$2.string().nullish(),
|
|
198
310
|
"location": z$2.string().nullish(),
|
|
199
311
|
"resourceGroup": z$2.string().nullish(),
|
|
@@ -208,6 +320,9 @@ const AzureFoundryAiHeartbeatDataSchema = z$2.object({
|
|
|
208
320
|
* Do not edit manually.
|
|
209
321
|
*/
|
|
210
322
|
const ExternalAiHeartbeatDataSchema = z$2.object({
|
|
323
|
+
get "availability"() {
|
|
324
|
+
return z$2.union([AiAvailabilityObservationSchema, z$2.null()]).optional();
|
|
325
|
+
},
|
|
211
326
|
"provider": z$2.string().describe("The BYO-key provider serving this binding (e.g. \"openai\"). Used on the Local\nplatform, where the app brings its own provider key instead of an ambient cloud."),
|
|
212
327
|
get "status"() {
|
|
213
328
|
return AiHeartbeatStatusSchema;
|
|
@@ -220,6 +335,9 @@ const ExternalAiHeartbeatDataSchema = z$2.object({
|
|
|
220
335
|
* Do not edit manually.
|
|
221
336
|
*/
|
|
222
337
|
const GcpVertexAiHeartbeatDataSchema = z$2.object({
|
|
338
|
+
get "availability"() {
|
|
339
|
+
return AiAvailabilityObservationSchema;
|
|
340
|
+
},
|
|
223
341
|
"location": z$2.string(),
|
|
224
342
|
"project": z$2.string(),
|
|
225
343
|
get "status"() {
|
|
@@ -1410,6 +1528,38 @@ const AwsIamRoleServiceAccountHeartbeatDataSchema = z$2.object({
|
|
|
1410
1528
|
},
|
|
1411
1529
|
"tagCount": z$2.int().min(0)
|
|
1412
1530
|
});
|
|
1531
|
+
z$2.object({ "keyArn": z$2.string().describe("Immutable KMS key ARN. Alias ARNs are not accepted.") }).describe("AWS KMS key created by the customer-installed setup stack.");
|
|
1532
|
+
//#endregion
|
|
1533
|
+
//#region src/generated/zod/key-heartbeat-status-schema.ts
|
|
1534
|
+
/**
|
|
1535
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1536
|
+
* Do not edit manually.
|
|
1537
|
+
*/
|
|
1538
|
+
const KeyHeartbeatStatusSchema = z$2.object({
|
|
1539
|
+
get "health"() {
|
|
1540
|
+
return ObservedHealthSchema;
|
|
1541
|
+
},
|
|
1542
|
+
get "lifecycle"() {
|
|
1543
|
+
return ProviderLifecycleStateSchema;
|
|
1544
|
+
},
|
|
1545
|
+
"message": z$2.string().nullish()
|
|
1546
|
+
});
|
|
1547
|
+
//#endregion
|
|
1548
|
+
//#region src/generated/zod/aws-kms-key-heartbeat-data-schema.ts
|
|
1549
|
+
/**
|
|
1550
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
1551
|
+
* Do not edit manually.
|
|
1552
|
+
*/
|
|
1553
|
+
const AwsKmsKeyHeartbeatDataSchema = z$2.object({
|
|
1554
|
+
"enabled": z$2.boolean(),
|
|
1555
|
+
"keyArn": z$2.string(),
|
|
1556
|
+
"keySpec": z$2.string(),
|
|
1557
|
+
"keyState": z$2.string(),
|
|
1558
|
+
"keyUsage": z$2.string(),
|
|
1559
|
+
get "status"() {
|
|
1560
|
+
return KeyHeartbeatStatusSchema;
|
|
1561
|
+
}
|
|
1562
|
+
});
|
|
1413
1563
|
//#endregion
|
|
1414
1564
|
//#region src/generated/zod/aws-kv-import-data-schema.ts
|
|
1415
1565
|
/**
|
|
@@ -2243,6 +2393,12 @@ z$2.object({
|
|
|
2243
2393
|
"serverResourceId": z$2.string().describe("Full ARM resource id of the Flexible Server (the deletable handle)."),
|
|
2244
2394
|
"version": z$2.string().describe("Engine version the server reports.")
|
|
2245
2395
|
}).describe("Azure Postgres (Flexible Server + Private Endpoint) registration data: the handles by\nwhich a setup-created Flexible Server (with its Private Endpoint, private DNS zone, and\nthe Key Vault secret holding the master password) is registered as a Frozen Postgres\nresource. Setup owns the server, Alien refreshes and heartbeats it. The raw password is\nnever carried, only the Key Vault secret URI.");
|
|
2396
|
+
z$2.object({
|
|
2397
|
+
"keyId": z$2.string().describe("Full versioned Key Vault key ID used for new wrapping operations."),
|
|
2398
|
+
"keyName": z$2.string().describe("Key name within the vault."),
|
|
2399
|
+
"lineageVersionId": z$2.string().describe("Version ID that identifies the original key lineage."),
|
|
2400
|
+
"vaultResourceId": z$2.string().describe("ARM resource ID of the dedicated Key Vault.")
|
|
2401
|
+
}).describe("Azure Key Vault key created by the customer-installed setup stack.");
|
|
2246
2402
|
//#endregion
|
|
2247
2403
|
//#region src/generated/zod/azure-key-vault-heartbeat-data-schema.ts
|
|
2248
2404
|
/**
|
|
@@ -2271,6 +2427,22 @@ const AzureKeyVaultHeartbeatDataSchema = z$2.object({
|
|
|
2271
2427
|
"vaultUri": z$2.string().nullish()
|
|
2272
2428
|
});
|
|
2273
2429
|
//#endregion
|
|
2430
|
+
//#region src/generated/zod/azure-key-vault-key-heartbeat-data-schema.ts
|
|
2431
|
+
/**
|
|
2432
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
2433
|
+
* Do not edit manually.
|
|
2434
|
+
*/
|
|
2435
|
+
const AzureKeyVaultKeyHeartbeatDataSchema = z$2.object({
|
|
2436
|
+
"enabled": z$2.boolean().nullish(),
|
|
2437
|
+
"keyId": z$2.string(),
|
|
2438
|
+
"keyOperations": z$2.array(z$2.string()),
|
|
2439
|
+
"keyType": z$2.string(),
|
|
2440
|
+
"recoveryLevel": z$2.string().nullish(),
|
|
2441
|
+
get "status"() {
|
|
2442
|
+
return KeyHeartbeatStatusSchema;
|
|
2443
|
+
}
|
|
2444
|
+
});
|
|
2445
|
+
//#endregion
|
|
2274
2446
|
//#region src/generated/zod/azure-kv-import-data-schema.ts
|
|
2275
2447
|
/**
|
|
2276
2448
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -4725,6 +4897,22 @@ const GcpBuildImportDataSchema = z$2.object({
|
|
|
4725
4897
|
"triggerName": z$2.string().describe("Cloud Build trigger name.")
|
|
4726
4898
|
}).describe("GCP Build ImportData — Cloud Build trigger + worker pool reference.");
|
|
4727
4899
|
//#endregion
|
|
4900
|
+
//#region src/generated/zod/gcp-cloud-kms-key-heartbeat-data-schema.ts
|
|
4901
|
+
/**
|
|
4902
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4903
|
+
* Do not edit manually.
|
|
4904
|
+
*/
|
|
4905
|
+
const GcpCloudKmsKeyHeartbeatDataSchema = z$2.object({
|
|
4906
|
+
"algorithm": z$2.string().nullish(),
|
|
4907
|
+
"cryptoKeyName": z$2.string(),
|
|
4908
|
+
"primaryState": z$2.string().nullish(),
|
|
4909
|
+
"primaryVersion": z$2.string().nullish(),
|
|
4910
|
+
"purpose": z$2.string(),
|
|
4911
|
+
get "status"() {
|
|
4912
|
+
return KeyHeartbeatStatusSchema;
|
|
4913
|
+
}
|
|
4914
|
+
});
|
|
4915
|
+
//#endregion
|
|
4728
4916
|
//#region src/generated/zod/gcp-cloud-run-worker-heartbeat-data-schema.ts
|
|
4729
4917
|
/**
|
|
4730
4918
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -4834,6 +5022,10 @@ const GcpFirestoreKvHeartbeatDataSchema = z$2.object({
|
|
|
4834
5022
|
"updateTime": z$2.string().nullish(),
|
|
4835
5023
|
"versionRetentionPeriod": z$2.string().nullish()
|
|
4836
5024
|
});
|
|
5025
|
+
z$2.object({
|
|
5026
|
+
"cryptoKeyName": z$2.string().describe("Full CryptoKey resource name, without a CryptoKeyVersion."),
|
|
5027
|
+
"primaryVersion": z$2.string().describe("Full primary CryptoKeyVersion resource name used for new wrapping operations.")
|
|
5028
|
+
}).describe("GCP Cloud KMS key created by the customer-installed setup stack.");
|
|
4837
5029
|
//#endregion
|
|
4838
5030
|
//#region src/generated/zod/gcp-kv-import-data-schema.ts
|
|
4839
5031
|
/**
|
|
@@ -5233,6 +5425,73 @@ const ImportedResourceSchema = z$2.object({
|
|
|
5233
5425
|
}
|
|
5234
5426
|
}).describe("One resolved resource import payload.");
|
|
5235
5427
|
//#endregion
|
|
5428
|
+
//#region src/generated/zod/key-fingerprint-schema.ts
|
|
5429
|
+
/**
|
|
5430
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5431
|
+
* Do not edit manually.
|
|
5432
|
+
*/
|
|
5433
|
+
/**
|
|
5434
|
+
* @description Stable identity of a provider key family.\n\nProvider-native version rotation does not change this value. Replacing the\nprovider key does.
|
|
5435
|
+
*/
|
|
5436
|
+
const KeyFingerprintSchema = z$2.union([
|
|
5437
|
+
z$2.object({
|
|
5438
|
+
"key_arn": z$2.string(),
|
|
5439
|
+
"provider": z$2.enum(["aws"])
|
|
5440
|
+
}),
|
|
5441
|
+
z$2.object({
|
|
5442
|
+
"crypto_key_name": z$2.string(),
|
|
5443
|
+
"provider": z$2.enum(["gcp"])
|
|
5444
|
+
}),
|
|
5445
|
+
z$2.object({
|
|
5446
|
+
"key_name": z$2.string(),
|
|
5447
|
+
"lineage_version_id": z$2.string(),
|
|
5448
|
+
"provider": z$2.enum(["azure"]),
|
|
5449
|
+
"vault_resource_id": z$2.string()
|
|
5450
|
+
})
|
|
5451
|
+
]).describe("Stable identity of a provider key family.\n\nProvider-native version rotation does not change this value. Replacing the\nprovider key does.");
|
|
5452
|
+
//#endregion
|
|
5453
|
+
//#region src/generated/zod/key-heartbeat-data-schema.ts
|
|
5454
|
+
/**
|
|
5455
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5456
|
+
* Do not edit manually.
|
|
5457
|
+
*/
|
|
5458
|
+
const KeyHeartbeatDataSchema = z$2.union([
|
|
5459
|
+
z$2.object({
|
|
5460
|
+
get "data"() {
|
|
5461
|
+
return AwsKmsKeyHeartbeatDataSchema;
|
|
5462
|
+
},
|
|
5463
|
+
"provider": z$2.enum(["aws-kms"])
|
|
5464
|
+
}),
|
|
5465
|
+
z$2.object({
|
|
5466
|
+
get "data"() {
|
|
5467
|
+
return GcpCloudKmsKeyHeartbeatDataSchema;
|
|
5468
|
+
},
|
|
5469
|
+
"provider": z$2.enum(["gcp-cloud-kms"])
|
|
5470
|
+
}),
|
|
5471
|
+
z$2.object({
|
|
5472
|
+
get "data"() {
|
|
5473
|
+
return AzureKeyVaultKeyHeartbeatDataSchema;
|
|
5474
|
+
},
|
|
5475
|
+
"provider": z$2.enum(["azure-key-vault"])
|
|
5476
|
+
})
|
|
5477
|
+
]);
|
|
5478
|
+
z$2.object({
|
|
5479
|
+
get "fingerprint"() {
|
|
5480
|
+
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.");
|
|
5481
|
+
},
|
|
5482
|
+
"wrappingKeyId": z$2.string().describe("Exact provider key version used for new wrapping operations.")
|
|
5483
|
+
}).describe("Outputs generated by a successfully provisioned Key.");
|
|
5484
|
+
//#endregion
|
|
5485
|
+
//#region src/generated/zod/key-schema.ts
|
|
5486
|
+
/**
|
|
5487
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5488
|
+
* Do not edit manually.
|
|
5489
|
+
*/
|
|
5490
|
+
/**
|
|
5491
|
+
* @description A customer-managed encryption key.
|
|
5492
|
+
*/
|
|
5493
|
+
const KeySchema = z$2.object({ "id": z$2.string().describe("Identifier for the key resource.") }).describe("A customer-managed encryption key.");
|
|
5494
|
+
//#endregion
|
|
5236
5495
|
//#region src/generated/zod/kubernetes-certificate-mode-schema.ts
|
|
5237
5496
|
/**
|
|
5238
5497
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -6437,6 +6696,12 @@ const ResourceHeartbeatDataSchema = z$2.union([
|
|
|
6437
6696
|
return AiHeartbeatDataSchema;
|
|
6438
6697
|
},
|
|
6439
6698
|
"resourceType": z$2.enum(["ai"])
|
|
6699
|
+
}),
|
|
6700
|
+
z$2.object({
|
|
6701
|
+
get "data"() {
|
|
6702
|
+
return KeyHeartbeatDataSchema;
|
|
6703
|
+
},
|
|
6704
|
+
"resourceType": z$2.enum(["key"])
|
|
6440
6705
|
})
|
|
6441
6706
|
]);
|
|
6442
6707
|
//#endregion
|
|
@@ -6853,6 +7118,9 @@ const StorageOutputsSchema = z$2.object({ "bucketName": z$2.string().describe("T
|
|
|
6853
7118
|
*/
|
|
6854
7119
|
const StorageSchema = z$2.object({
|
|
6855
7120
|
"corsAllowedOrigins": z$2.optional(z$2.array(z$2.string()).describe("Browser origins allowed to read objects through signed URLs.\n\nWhen non-empty, providers configure CORS for `GET` and `HEAD` requests.\nAn origin of `*` is appropriate for private buckets whose signed URLs\nare bearer credentials and do not use browser cookies.\nDefault: `[]` (CORS disabled).")),
|
|
7121
|
+
get "encryptionKey"() {
|
|
7122
|
+
return z$2.union([ResourceRefSchema, z$2.null()]).optional();
|
|
7123
|
+
},
|
|
6856
7124
|
"id": z$2.string().describe("Name of the the storage bucket.\nFor names with dots, each dot-separated label must be ≤ 63 characters."),
|
|
6857
7125
|
get "lifecycleRules"() {
|
|
6858
7126
|
return z$2.array(LifecycleRuleSchema.describe("Defines a rule for managing the lifecycle of objects within a storage bucket.")).describe("List of rules for automatic object management (e.g., expiration).\nDefault: `[]` (empty list)").optional();
|
|
@@ -8827,6 +9095,26 @@ function integerToString(value, field) {
|
|
|
8827
9095
|
return String(value);
|
|
8828
9096
|
}
|
|
8829
9097
|
//#endregion
|
|
9098
|
+
//#region src/key.ts
|
|
9099
|
+
/** A customer-managed encryption key. */
|
|
9100
|
+
var Key = class extends ResourceBuilder {
|
|
9101
|
+
_config = {};
|
|
9102
|
+
constructor(id) {
|
|
9103
|
+
super();
|
|
9104
|
+
this._config.id = id;
|
|
9105
|
+
}
|
|
9106
|
+
static any() {
|
|
9107
|
+
return "key";
|
|
9108
|
+
}
|
|
9109
|
+
build() {
|
|
9110
|
+
const config = KeySchema.parse(this._config);
|
|
9111
|
+
return this.resource({
|
|
9112
|
+
type: "key",
|
|
9113
|
+
...config
|
|
9114
|
+
});
|
|
9115
|
+
}
|
|
9116
|
+
};
|
|
9117
|
+
//#endregion
|
|
8830
9118
|
//#region src/kv.ts
|
|
8831
9119
|
/**
|
|
8832
9120
|
* Represents a key-value store for data storage.
|
|
@@ -9256,6 +9544,15 @@ var Storage = class extends ResourceBuilder {
|
|
|
9256
9544
|
return this;
|
|
9257
9545
|
}
|
|
9258
9546
|
/**
|
|
9547
|
+
* Uses an Alien Key for provider-native encryption of objects in this Storage resource.
|
|
9548
|
+
* The Key and Storage must both be added to the same stack.
|
|
9549
|
+
*/
|
|
9550
|
+
encryptionKey(key) {
|
|
9551
|
+
if (key.config.type !== "key") throw new Error(`Storage.encryptionKey() requires an alien.Key, received '${key.config.type}'`);
|
|
9552
|
+
this._config.encryptionKey = key.ref();
|
|
9553
|
+
return this;
|
|
9554
|
+
}
|
|
9555
|
+
/**
|
|
9259
9556
|
* Builds and validates the storage configuration.
|
|
9260
9557
|
* @returns An immutable Resource representing the configured storage bucket.
|
|
9261
9558
|
* @throws Error if the storage configuration is invalid.
|
|
@@ -9605,6 +9902,6 @@ function validateOcu(field, value, allowZero) {
|
|
|
9605
9902
|
//#region src/index.ts
|
|
9606
9903
|
const experimental = { AwsOpenSearch };
|
|
9607
9904
|
//#endregion
|
|
9608
|
-
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, ComputeTypeSchema, Container, ContainerAutoscalingSchema, ContainerCodeSchema, ContainerSchema as ContainerConfigSchema, ContainerHeartbeatDataSchema, ContainerPortSchema, CreateCommandRequestSchema, CreateCommandResponseSchema, Daemon, DaemonCodeSchema, DaemonSchema as DaemonConfigSchema, DaemonHeartbeatDataSchema, DaemonOutputsSchema, DeploymentModelSchema, DevResourceInfoSchema, DevStatusSchema, DevStatusStateSchema, Email, EmailSchema as EmailConfigSchema, EnvelopeSchema, EventChangeSchema, EventStateSchema, ExposeProtocolSchema, 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, 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, ObservedCountsSchema, ObservedHealthSchema, ObservedInventoryBatchSchema, ObservedResourceSampleSchema, PermissionSetSchema, PlatformSchema, Postgres, PostgresSchema as PostgresConfigSchema, PresignedRequestBackendSchema, PresignedRequestSchema, ProviderFleetStatusSchema, ProviderLifecycleStateSchema, PublicEndpointSchema, Queue, QueueSchema as QueueConfigSchema, QueueHeartbeatDataSchema, QueueHeartbeatStatusSchema, QueueMessageSchema, ReadinessProbeSchema, ReleaseRequestSchema, RemoteStackManagementHeartbeatDataSchema, RemoteStackManagementHeartbeatStatusSchema, Resource, ResourceHeartbeatDataSchema, ResourceHeartbeatSchema, ResourceLifecycleSchema, ResourceNotFoundError, ResourceOutputsParseError, ResourceRefSchema, ResourceSchemaMapping, ResourceStatusSchema, ResourceTypeSchema, ResponseHandlingSchema, 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, 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, defineNumberInput as number, defineSecretInput as secret, defineStringInput as string, defineStringListInput as stringList };
|
|
9905
|
+
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, ComputeTypeSchema, Container, ContainerAutoscalingSchema, ContainerCodeSchema, ContainerSchema as ContainerConfigSchema, ContainerHeartbeatDataSchema, ContainerPortSchema, CreateCommandRequestSchema, CreateCommandResponseSchema, Daemon, DaemonCodeSchema, DaemonSchema as DaemonConfigSchema, DaemonHeartbeatDataSchema, DaemonOutputsSchema, DeploymentModelSchema, DevResourceInfoSchema, DevStatusSchema, DevStatusStateSchema, Email, EmailSchema as EmailConfigSchema, EnvelopeSchema, EventChangeSchema, EventStateSchema, ExposeProtocolSchema, 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, ObservedCountsSchema, ObservedHealthSchema, ObservedInventoryBatchSchema, ObservedResourceSampleSchema, PermissionSetSchema, PlatformSchema, Postgres, PostgresSchema as PostgresConfigSchema, PresignedRequestBackendSchema, PresignedRequestSchema, ProviderFleetStatusSchema, ProviderLifecycleStateSchema, PublicEndpointSchema, Queue, QueueSchema as QueueConfigSchema, QueueHeartbeatDataSchema, QueueHeartbeatStatusSchema, QueueMessageSchema, ReadinessProbeSchema, ReleaseRequestSchema, RemoteStackManagementHeartbeatDataSchema, RemoteStackManagementHeartbeatStatusSchema, Resource, ResourceHeartbeatDataSchema, ResourceHeartbeatSchema, ResourceLifecycleSchema, ResourceNotFoundError, ResourceOutputsParseError, ResourceRefSchema, ResourceSchemaMapping, ResourceStatusSchema, ResourceTypeSchema, ResponseHandlingSchema, 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, 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, defineNumberInput as number, defineSecretInput as secret, defineStringInput as string, defineStringListInput as stringList };
|
|
9609
9906
|
|
|
9610
9907
|
//# sourceMappingURL=index.js.map
|