@alienplatform/core 3.3.42 → 3.3.44
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 +50 -0
- package/dist/index.d.ts +1483 -893
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +167 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99,6 +99,8 @@ const DeploymentStatusSchema = z$2.enum([
|
|
|
99
99
|
"delete-failed",
|
|
100
100
|
"teardown-required",
|
|
101
101
|
"teardown-failed",
|
|
102
|
+
"retention-required",
|
|
103
|
+
"retained",
|
|
102
104
|
"deleted",
|
|
103
105
|
"error"
|
|
104
106
|
]).describe("Deployment status in the deployment lifecycle.\n\nFor observe-only deployments with no release or stack state, `Running`\nmeans the Operator is attached. Connectivity comes from `lastHeartbeatAt`;\nresource health comes from inventory and resource heartbeat data.");
|
|
@@ -532,6 +534,8 @@ const StackResourceStateSchema = z$2.object({
|
|
|
532
534
|
get "dependencies"() {
|
|
533
535
|
return z$2.array(ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.")).describe("Complete list of dependencies for this resource, including infrastructure dependencies.\nThis preserves the full dependency information from the stack definition.").optional();
|
|
534
536
|
},
|
|
537
|
+
"description": z$2.string().nullish(),
|
|
538
|
+
"displayName": z$2.string().describe("Presentation metadata from the effective resource entry, outside runtime configuration.").nullish(),
|
|
535
539
|
get "error"() {
|
|
536
540
|
return z$2.union([AlienErrorSchema, z$2.null()]).optional();
|
|
537
541
|
},
|
|
@@ -545,6 +549,7 @@ const StackResourceStateSchema = z$2.object({
|
|
|
545
549
|
get "previousConfig"() {
|
|
546
550
|
return z$2.union([BaseResourceSchema, z$2.null()]).optional();
|
|
547
551
|
},
|
|
552
|
+
"progress": z$2.string().describe("Last reported step explanation for display only; not a machine-readable status.").nullish(),
|
|
548
553
|
"remoteBindingParams": z$2.optional(z$2.any().describe("Binding parameters for remote access.\nOnly populated when the resource has `remote_access: true` in its ResourceEntry.\nThis is the JSON serialization of the binding configuration (e.g., StorageBinding, VaultBinding).\nPopulated by controllers during provisioning using get_binding_params().")),
|
|
549
554
|
"retryAttempt": z$2.optional(z$2.int().min(0).describe("Tracks consecutive retry attempts for the current state transition.")),
|
|
550
555
|
get "status"() {
|
|
@@ -1961,6 +1966,7 @@ z$2.object({
|
|
|
1961
1966
|
"database": z$2.string().describe("Default database name."),
|
|
1962
1967
|
"engineVersion": z$2.string().describe("Engine version the cluster reports."),
|
|
1963
1968
|
"instanceIdentifier": z$2.string().describe("Writer instance identifier within the cluster."),
|
|
1969
|
+
"managedPassword": z$2.optional(z$2.boolean().describe("True when RDS owns the JSON username/password secret and its rotation.")),
|
|
1964
1970
|
"passwordSecretArn": z$2.string().describe("Secrets Manager ARN of the master password (never the password itself)."),
|
|
1965
1971
|
"securityGroupId": z$2.string().describe("Dedicated security group admitting 5432 from the stack security group."),
|
|
1966
1972
|
"subnetGroupName": z$2.string().describe("DB subnet group spanning the private subnets."),
|
|
@@ -4838,6 +4844,15 @@ const KubernetesTlsSecretRefSchema = z$2.object({
|
|
|
4838
4844
|
const KubernetesCustomCertificateConfigSchema = z$2.object({ get "tlsSecretRef"() {
|
|
4839
4845
|
return KubernetesTlsSecretRefSchema.describe("Namespace-scoped Kubernetes TLS Secret reference.");
|
|
4840
4846
|
} });
|
|
4847
|
+
// src/generated/zod/managed-custom-certificate-config-schema.ts
|
|
4848
|
+
/**
|
|
4849
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
4850
|
+
* Do not edit manually.
|
|
4851
|
+
*/
|
|
4852
|
+
/**
|
|
4853
|
+
* @description Managed certificate issuance settings.
|
|
4854
|
+
*/
|
|
4855
|
+
const ManagedCustomCertificateConfigSchema = z$2.object({}).describe("Managed certificate issuance settings.");
|
|
4841
4856
|
// src/generated/zod/custom-certificate-config-schema.ts
|
|
4842
4857
|
/**
|
|
4843
4858
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -4858,6 +4873,9 @@ const CustomCertificateConfigSchema = z$2.object({
|
|
|
4858
4873
|
},
|
|
4859
4874
|
get "kubernetes"() {
|
|
4860
4875
|
return z$2.union([KubernetesCustomCertificateConfigSchema, z$2.null()]).optional();
|
|
4876
|
+
},
|
|
4877
|
+
get "managed"() {
|
|
4878
|
+
return z$2.union([ManagedCustomCertificateConfigSchema, z$2.null()]).optional();
|
|
4861
4879
|
}
|
|
4862
4880
|
}).describe("Platform-specific certificate references for custom domains.");
|
|
4863
4881
|
// src/generated/zod/custom-domain-config-schema.ts
|
|
@@ -4872,7 +4890,8 @@ const CustomDomainConfigSchema = z$2.object({
|
|
|
4872
4890
|
get "certificate"() {
|
|
4873
4891
|
return CustomCertificateConfigSchema.describe("Platform-specific certificate references for custom domains.");
|
|
4874
4892
|
},
|
|
4875
|
-
"domain": z$2.string().describe("Fully qualified domain name
|
|
4893
|
+
"domain": z$2.optional(z$2.string().describe("Fully qualified domain name for a supplied certificate.")),
|
|
4894
|
+
"endpoints": z$2.optional(z$2.object({}).catchall(z$2.string()).describe("Hostnames keyed by endpoint name for a managed certificate."))
|
|
4876
4895
|
}).describe("Custom domain configuration for a single resource.");
|
|
4877
4896
|
// src/generated/zod/operation-approval-decision-schema.ts
|
|
4878
4897
|
/**
|
|
@@ -5311,14 +5330,14 @@ const PublicEndpointTargetSettingsSchema = z$2.union([z$2.object({ "mode": z$2.e
|
|
|
5311
5330
|
* Do not edit manually.
|
|
5312
5331
|
*/
|
|
5313
5332
|
/**
|
|
5314
|
-
* @description Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains
|
|
5333
|
+
* @description Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains with supplied or managed certificates. Otherwise, Alien auto-generates domains.
|
|
5315
5334
|
*/
|
|
5316
5335
|
const DomainSettingsSchema = z$2.object({
|
|
5317
5336
|
"customDomains": z$2.object({}).catchall(z$2.lazy(() => CustomDomainConfigSchema).describe("Custom domain configuration for a single resource.")).describe("Custom domain configuration per resource ID.").nullish(),
|
|
5318
5337
|
get "publicEndpointTarget"() {
|
|
5319
5338
|
return z$2.union([PublicEndpointTargetSettingsSchema, z$2.null()]).optional();
|
|
5320
5339
|
}
|
|
5321
|
-
}).describe("Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains
|
|
5340
|
+
}).describe("Domain configuration for the stack.\n\nWhen `custom_domains` is set, the specified resources use customer-provided\ndomains with supplied or managed certificates. Otherwise, Alien auto-generates domains.");
|
|
5322
5341
|
// src/generated/zod/dynamic-container-health-check-schema.ts
|
|
5323
5342
|
/**
|
|
5324
5343
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -5663,6 +5682,22 @@ const KvBindingSchema = z$2.union([
|
|
|
5663
5682
|
z$2.lazy(() => RedisKvBindingSchema).and(z$2.object({ "service": z$2.enum(["redis"]) })).describe("Redis KV binding configuration"),
|
|
5664
5683
|
z$2.lazy(() => LocalKvBindingSchema).and(z$2.object({ "service": z$2.enum(["local-kv"]) })).describe("Local development KV binding configuration")
|
|
5665
5684
|
]).describe("Represents a KV binding for key-value storage across platforms");
|
|
5685
|
+
// src/generated/zod/external-password-secret-key-ref-schema.ts
|
|
5686
|
+
/**
|
|
5687
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5688
|
+
* Do not edit manually.
|
|
5689
|
+
*/
|
|
5690
|
+
const ExternalPasswordSecretKeyRefSchema = z$2.object({ get "secretKeyRef"() {
|
|
5691
|
+
return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
|
|
5692
|
+
} });
|
|
5693
|
+
// src/generated/zod/external-password-secret-ref-schema.ts
|
|
5694
|
+
/**
|
|
5695
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
5696
|
+
* Do not edit manually.
|
|
5697
|
+
*/
|
|
5698
|
+
const ExternalPasswordSecretRefSchema = z$2.object({ get "secretRef"() {
|
|
5699
|
+
return SecretReferenceSchema.describe("Reference to a Kubernetes Secret");
|
|
5700
|
+
} });
|
|
5666
5701
|
// src/generated/zod/external-postgres-ssl-mode-schema.ts
|
|
5667
5702
|
/**
|
|
5668
5703
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -5687,7 +5722,13 @@ const ExternalPostgresBindingSchema = z$2.object({
|
|
|
5687
5722
|
get "host"() {
|
|
5688
5723
|
return BindingValueStringSchema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
|
|
5689
5724
|
},
|
|
5690
|
-
"password"
|
|
5725
|
+
get "password"() {
|
|
5726
|
+
return z$2.union([
|
|
5727
|
+
ExternalPasswordSecretRefSchema,
|
|
5728
|
+
ExternalPasswordSecretKeyRefSchema,
|
|
5729
|
+
z$2.string()
|
|
5730
|
+
]).describe("Connection password or Kubernetes Secret reference. Kubernetes workloads resolve\nthe reference through secretKeyRef before the application loads its binding.");
|
|
5731
|
+
},
|
|
5691
5732
|
get "port"() {
|
|
5692
5733
|
return BindingValueU16Schema.describe("Represents a value that can be either a concrete value, a template expression,\nor a reference to a Kubernetes Secret");
|
|
5693
5734
|
},
|
|
@@ -5756,6 +5797,7 @@ const LocalPostgresBindingSchema = z$2.object({
|
|
|
5756
5797
|
*/
|
|
5757
5798
|
const PostgresBindingSchema = z$2.union([
|
|
5758
5799
|
z$2.lazy(() => AuroraPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["aurora"]) })).describe("AWS Aurora Serverless v2 binding."),
|
|
5800
|
+
z$2.lazy(() => AuroraPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["aurora-managed"]) })).describe("AWS Aurora Serverless v2 binding."),
|
|
5759
5801
|
z$2.lazy(() => CloudSqlPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["cloud-sql"]) })).describe("GCP Cloud SQL binding."),
|
|
5760
5802
|
z$2.lazy(() => FlexibleServerPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["flexible-server"]) })).describe("Azure Flexible Server binding."),
|
|
5761
5803
|
z$2.lazy(() => ExternalPostgresBindingSchema).and(z$2.object({ "service": z$2.enum(["external"]) })).describe("Operator-provided / BYO database binding."),
|
|
@@ -6916,6 +6958,16 @@ const KubernetesExposureSettingsSchema = z$2.union([
|
|
|
6916
6958
|
get "route"() {
|
|
6917
6959
|
return KubernetesRouteProfileSchema.describe("Kubernetes route API selected for public endpoints.");
|
|
6918
6960
|
}
|
|
6961
|
+
}),
|
|
6962
|
+
z$2.object({
|
|
6963
|
+
"baseDomain": z$2.string().describe("DNS name without a wildcard or URL scheme, for example `app.example.com`."),
|
|
6964
|
+
get "certificate"() {
|
|
6965
|
+
return KubernetesCertificateModeSchema.describe("Certificate publication or reference mode for Kubernetes public endpoints.");
|
|
6966
|
+
},
|
|
6967
|
+
"mode": z$2.enum(["customBaseDomain"]),
|
|
6968
|
+
get "route"() {
|
|
6969
|
+
return KubernetesRouteProfileSchema.describe("Kubernetes route API selected for public endpoints.");
|
|
6970
|
+
}
|
|
6919
6971
|
})
|
|
6920
6972
|
]).describe("Kubernetes public HTTPS exposure mode.");
|
|
6921
6973
|
// src/generated/zod/kubernetes-sandbox-heartbeat-data-schema.ts
|
|
@@ -7721,6 +7773,8 @@ const ResourceEntrySchema = z$2.object({
|
|
|
7721
7773
|
get "dependencies"() {
|
|
7722
7774
|
return z$2.array(ResourceRefSchema.describe("Reference to a resource by its stable id and resource type.")).describe("Additional dependencies for this resource beyond those defined in the resource itself.\nThe total dependencies are: resource.get_dependencies() + this list");
|
|
7723
7775
|
},
|
|
7776
|
+
"description": z$2.string().describe("Authored purpose, displayed as plain text. Does not affect resource configuration.").nullish(),
|
|
7777
|
+
"displayName": z$2.string().describe("Optional human-readable name. The stable resource ID is the display fallback.").nullish(),
|
|
7724
7778
|
"enabledWhen": z$2.string().describe("Id of the boolean stack input that decides whether this resource is\ncreated at all. `None` means always create it.\n\nSet by `.enabled(input)` in the SDK. Setup emitters render the resource\nconditionally on the matching template variable, so a deployer who says no\nnever gets the resource, its outputs, or anything derived from it.").nullish(),
|
|
7725
7779
|
get "lifecycle"() {
|
|
7726
7780
|
return ResourceLifecycleSchema.describe("Describes the lifecycle of a resource within a stack, determining how it's managed and deployed.");
|
|
@@ -8172,6 +8226,7 @@ const UpdatesModeSchema = z$2.enum(["auto", "approval-required"]).describe("How
|
|
|
8172
8226
|
* @description User-customizable deployment settings specified at deploy time.\n\nThese settings are provided by the customer via CloudFormation parameters,\nTerraform attributes, CLI flags, or Helm values. They customize how the\ndeployment runs and what capabilities are enabled.\n\n**Key distinction**: StackSettings is user-customizable, while ManagementConfig\nis platform-derived (from the Manager\'s ServiceAccount).
|
|
8173
8227
|
*/
|
|
8174
8228
|
const StackSettingsSchema = z$2.object({
|
|
8229
|
+
"airgapped": z$2.optional(z$2.boolean().describe("Deliver Kubernetes updates and reports as carried bundles instead of a live connection.\nThe Operator still executes deployments with the pull model.")),
|
|
8175
8230
|
get "compute"() {
|
|
8176
8231
|
return z$2.union([ComputeSettingsSchema, z$2.null()]).optional();
|
|
8177
8232
|
},
|
|
@@ -8249,6 +8304,18 @@ z$2.object({
|
|
|
8249
8304
|
return StackStateSchema.describe("Represents the collective state of all resources in a stack, including platform and pending actions.");
|
|
8250
8305
|
}
|
|
8251
8306
|
}).describe("Response body returned after a stack import.");
|
|
8307
|
+
// src/generated/zod/stack-input-condition-schema.ts
|
|
8308
|
+
/**
|
|
8309
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
8310
|
+
* Do not edit manually.
|
|
8311
|
+
*/
|
|
8312
|
+
/**
|
|
8313
|
+
* @description A boolean input condition controlling whether another input applies.
|
|
8314
|
+
*/
|
|
8315
|
+
const StackInputConditionSchema = z$2.object({
|
|
8316
|
+
"equals": z$2.boolean().describe("Boolean value for which this input applies."),
|
|
8317
|
+
"input": z$2.string().describe("ID of an unconditional boolean input in the same stack.")
|
|
8318
|
+
}).describe("A boolean input condition controlling whether another input applies.");
|
|
8252
8319
|
// src/generated/zod/stack-input-default-value-schema.ts
|
|
8253
8320
|
/**
|
|
8254
8321
|
* Generated by Kubb (https://kubb.dev/).
|
|
@@ -8387,6 +8454,9 @@ const StackInputDefinitionSchema = z$2.object({
|
|
|
8387
8454
|
"required": z$2.boolean().describe("Whether a resolved value is required before deployment can proceed."),
|
|
8388
8455
|
get "validation"() {
|
|
8389
8456
|
return z$2.union([StackInputValidationSchema, z$2.null()]).optional();
|
|
8457
|
+
},
|
|
8458
|
+
get "when"() {
|
|
8459
|
+
return z$2.union([StackInputConditionSchema, z$2.null()]).optional();
|
|
8390
8460
|
}
|
|
8391
8461
|
}).describe("Stack input definition serialized into a release stack.");
|
|
8392
8462
|
z$2.union([z$2.object({ "external": z$2.string().describe("Reference to another stack by ID") }), z$2.enum(["current"])]).describe("Reference to a stack for management permissions");
|
|
@@ -8702,8 +8772,10 @@ var Resource = class {
|
|
|
8702
8772
|
* @param config The configuration object for this specific resource type.
|
|
8703
8773
|
* @param enabledWhen Id of the boolean stack input gating this resource's creation.
|
|
8704
8774
|
*/
|
|
8705
|
-
constructor(config, enabledWhen) {
|
|
8775
|
+
constructor(config, enabledWhen, displayName, description) {
|
|
8706
8776
|
this.config = config;
|
|
8777
|
+
if (displayName !== void 0) this.displayName = displayName;
|
|
8778
|
+
if (description !== void 0) this.description = description;
|
|
8707
8779
|
if (enabledWhen !== void 0) this.enabledWhen = enabledWhen;
|
|
8708
8780
|
}
|
|
8709
8781
|
/**
|
|
@@ -8719,14 +8791,37 @@ var Resource = class {
|
|
|
8719
8791
|
}
|
|
8720
8792
|
};
|
|
8721
8793
|
/**
|
|
8722
|
-
*
|
|
8723
|
-
* `.enabled()` gate without each builder reimplementing it.
|
|
8794
|
+
* Shared display metadata for resource builders.
|
|
8724
8795
|
*/
|
|
8725
|
-
var
|
|
8796
|
+
var ResourceMetadataBuilder = class {
|
|
8797
|
+
_displayName;
|
|
8798
|
+
_description;
|
|
8799
|
+
/** Sets a friendly name; the resource ID remains its stable identity. */
|
|
8800
|
+
displayName(name) {
|
|
8801
|
+
this._displayName = name;
|
|
8802
|
+
return this;
|
|
8803
|
+
}
|
|
8804
|
+
/** Describes this resource's purpose as plain text. */
|
|
8805
|
+
description(description) {
|
|
8806
|
+
this._description = description;
|
|
8807
|
+
return this;
|
|
8808
|
+
}
|
|
8809
|
+
resource(config, enabledWhen) {
|
|
8810
|
+
return new Resource(config, enabledWhen, this._displayName, this._description);
|
|
8811
|
+
}
|
|
8812
|
+
};
|
|
8813
|
+
/** Shared conditional creation for resource types that support gates. */
|
|
8814
|
+
var ResourceBuilder = class extends ResourceMetadataBuilder {
|
|
8726
8815
|
_enabledWhen;
|
|
8727
8816
|
/**
|
|
8728
8817
|
* Creates this resource only when the given boolean stack input is true.
|
|
8729
8818
|
* A deployer who answers no never gets the resource, its outputs, or anything derived from it.
|
|
8819
|
+
* If the input's `platforms` excludes the deployment platform, the resource is
|
|
8820
|
+
* always declined, regardless of its default or any provided value.
|
|
8821
|
+
* Scope uses the deployment platform: Kubernetes on AWS is `kubernetes`, not `aws`.
|
|
8822
|
+
* Narrowing `platforms` to exclude an installed gated resource is refused on update.
|
|
8823
|
+
* Excluded gates record no new frozen answer; widening the scope can enable them through
|
|
8824
|
+
* setup only if no previously recorded false answer applies.
|
|
8730
8825
|
* A frozen resource's answer is fixed when the deployment is created; a live
|
|
8731
8826
|
* resource follows later edits to the input, and turning it off deletes the
|
|
8732
8827
|
* resource together with its data.
|
|
@@ -8743,7 +8838,7 @@ var ResourceBuilder = class {
|
|
|
8743
8838
|
* @returns An immutable Resource.
|
|
8744
8839
|
*/
|
|
8745
8840
|
resource(config) {
|
|
8746
|
-
return
|
|
8841
|
+
return super.resource(config, this._enabledWhen);
|
|
8747
8842
|
}
|
|
8748
8843
|
};
|
|
8749
8844
|
// src/ai.ts
|
|
@@ -8788,13 +8883,14 @@ var AI = class extends ResourceBuilder {
|
|
|
8788
8883
|
* This is a high-level wrapper resource that provides a cloud-agnostic interface over
|
|
8789
8884
|
* AWS ECR, GCP Artifact Registry, and Azure Container Registry.
|
|
8790
8885
|
*/
|
|
8791
|
-
var ArtifactRegistry = class {
|
|
8886
|
+
var ArtifactRegistry = class extends ResourceMetadataBuilder {
|
|
8792
8887
|
_config = {};
|
|
8793
8888
|
/**
|
|
8794
8889
|
* Creates a new ArtifactRegistry builder.
|
|
8795
8890
|
* @param id Identifier for the artifact registry. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters.
|
|
8796
8891
|
*/
|
|
8797
8892
|
constructor(id) {
|
|
8893
|
+
super();
|
|
8798
8894
|
this._config.id = id;
|
|
8799
8895
|
}
|
|
8800
8896
|
/**
|
|
@@ -8806,11 +8902,9 @@ var ArtifactRegistry = class {
|
|
|
8806
8902
|
return "artifact-registry";
|
|
8807
8903
|
}
|
|
8808
8904
|
/**
|
|
8809
|
-
* AWS
|
|
8810
|
-
*
|
|
8811
|
-
*
|
|
8812
|
-
* compute runs in a different region).
|
|
8813
|
-
* @param regions - AWS region codes to replicate to (e.g., ["us-east-2", "eu-west-1"])
|
|
8905
|
+
* Legacy AWS replication setting. Accepted with a warning; account replication is unchanged.
|
|
8906
|
+
* Configure destination regions through the account infrastructure owner.
|
|
8907
|
+
* @deprecated Per-deployment ECR replication is unsupported.
|
|
8814
8908
|
*/
|
|
8815
8909
|
replicationRegions(regions) {
|
|
8816
8910
|
this._config.replicationRegions = regions;
|
|
@@ -8822,9 +8916,10 @@ var ArtifactRegistry = class {
|
|
|
8822
8916
|
* @throws Error if the artifact registry configuration is invalid.
|
|
8823
8917
|
*/
|
|
8824
8918
|
build() {
|
|
8825
|
-
|
|
8919
|
+
const config = ArtifactRegistrySchema.parse(this._config);
|
|
8920
|
+
return this.resource({
|
|
8826
8921
|
type: "artifact-registry",
|
|
8827
|
-
...
|
|
8922
|
+
...config
|
|
8828
8923
|
});
|
|
8829
8924
|
}
|
|
8830
8925
|
};
|
|
@@ -8834,7 +8929,7 @@ var ArtifactRegistry = class {
|
|
|
8834
8929
|
* Builds are designed to be stateless and can be triggered on-demand to compile,
|
|
8835
8930
|
* test, or package application code.
|
|
8836
8931
|
*/
|
|
8837
|
-
var Build = class {
|
|
8932
|
+
var Build = class extends ResourceMetadataBuilder {
|
|
8838
8933
|
_config = {
|
|
8839
8934
|
links: [],
|
|
8840
8935
|
environment: {}
|
|
@@ -8844,6 +8939,7 @@ var Build = class {
|
|
|
8844
8939
|
* @param id Identifier for the build resource. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters.
|
|
8845
8940
|
*/
|
|
8846
8941
|
constructor(id) {
|
|
8942
|
+
super();
|
|
8847
8943
|
this._config.id = id;
|
|
8848
8944
|
}
|
|
8849
8945
|
/**
|
|
@@ -8901,9 +8997,10 @@ var Build = class {
|
|
|
8901
8997
|
* @throws Error if the build configuration is invalid.
|
|
8902
8998
|
*/
|
|
8903
8999
|
build() {
|
|
8904
|
-
|
|
9000
|
+
const config = BuildSchema.parse(this._config);
|
|
9001
|
+
return this.resource({
|
|
8905
9002
|
type: "build",
|
|
8906
|
-
...
|
|
9003
|
+
...config
|
|
8907
9004
|
});
|
|
8908
9005
|
}
|
|
8909
9006
|
};
|
|
@@ -9527,9 +9624,10 @@ const BindingNotFoundError = defineError({
|
|
|
9527
9624
|
* Provider instance types, selected zones, custom container CIDRs, GPU, and
|
|
9528
9625
|
* nested virtualization requirements are unsupported and fail validation.
|
|
9529
9626
|
*/
|
|
9530
|
-
var ComputeCluster = class {
|
|
9627
|
+
var ComputeCluster = class extends ResourceMetadataBuilder {
|
|
9531
9628
|
_config = { capacityGroups: [] };
|
|
9532
9629
|
constructor(id) {
|
|
9630
|
+
super();
|
|
9533
9631
|
this._config.id = id;
|
|
9534
9632
|
}
|
|
9535
9633
|
/**
|
|
@@ -9580,9 +9678,10 @@ var ComputeCluster = class {
|
|
|
9580
9678
|
*/
|
|
9581
9679
|
build() {
|
|
9582
9680
|
if (this._config.dynamicContainerPool !== void 0 && !this._config.capacityGroups?.some((group) => group.groupId === this._config.dynamicContainerPool)) throw new Error("Dynamic container pool must be declared in the compute cluster");
|
|
9583
|
-
|
|
9681
|
+
const config = ComputeClusterSchema.parse(this._config);
|
|
9682
|
+
return this.resource({
|
|
9584
9683
|
type: "compute-cluster",
|
|
9585
|
-
...
|
|
9684
|
+
...config
|
|
9586
9685
|
});
|
|
9587
9686
|
}
|
|
9588
9687
|
};
|
|
@@ -10471,6 +10570,19 @@ function getResourceOutputs(params) {
|
|
|
10471
10570
|
const STACK_INPUT_GENERATE_MIN_LENGTH = 16;
|
|
10472
10571
|
/** Longest value Alien generates for a secret input. */
|
|
10473
10572
|
const STACK_INPUT_GENERATE_MAX_LENGTH = 256;
|
|
10573
|
+
/** A conditional input references an unsupported or missing controlling input. */
|
|
10574
|
+
const InvalidInputConditionError = defineError({
|
|
10575
|
+
code: "INVALID_INPUT_CONDITION",
|
|
10576
|
+
context: z.object({
|
|
10577
|
+
input: z.string(),
|
|
10578
|
+
reference: z.string(),
|
|
10579
|
+
reason: z.string()
|
|
10580
|
+
}),
|
|
10581
|
+
message: ({ input, reference, reason }) => `Stack input '${input}' when '${reference}': ${reason}`,
|
|
10582
|
+
retryable: false,
|
|
10583
|
+
internal: false,
|
|
10584
|
+
httpStatusCode: 400
|
|
10585
|
+
});
|
|
10474
10586
|
const stackInputDraftSymbol = Symbol("alien.stackInputDraft");
|
|
10475
10587
|
const stackInputDefinitionsSymbol = Symbol("alien.stackInputDefinitions");
|
|
10476
10588
|
function inputs(drafts) {
|
|
@@ -10479,6 +10591,16 @@ function inputs(drafts) {
|
|
|
10479
10591
|
for (const [id, draft] of Object.entries(drafts)) {
|
|
10480
10592
|
validateInputId(id);
|
|
10481
10593
|
validateDraft(id, draft);
|
|
10594
|
+
const condition = draft.options.when;
|
|
10595
|
+
if (condition) {
|
|
10596
|
+
const reference = drafts[condition.input];
|
|
10597
|
+
const reason = condition.input === id ? "cannot reference itself" : !reference ? "unknown input" : reference.kind !== "boolean" ? "must reference a boolean input" : reference.options.when ? "must reference an unconditional input; chains and cycles are unsupported" : draft.generate ? "cannot be combined with generate" : normalizeArray(draft.options.providedBy).includes("deployer") && !normalizeArray(reference.options.providedBy).includes("deployer") ? "on a deployer input must reference a deployer-provided boolean" : typeof condition.equals !== "boolean" ? "equals must be a boolean" : void 0;
|
|
10598
|
+
if (reason) throw new AlienError(InvalidInputConditionError.create({
|
|
10599
|
+
input: id,
|
|
10600
|
+
reference: condition.input,
|
|
10601
|
+
reason
|
|
10602
|
+
}));
|
|
10603
|
+
}
|
|
10482
10604
|
result[id] = {
|
|
10483
10605
|
id,
|
|
10484
10606
|
kind: draft.kind
|
|
@@ -10492,6 +10614,7 @@ function inputs(drafts) {
|
|
|
10492
10614
|
description: draft.options.description,
|
|
10493
10615
|
placeholder: draft.options.placeholder,
|
|
10494
10616
|
default: toDefaultValue(draft.kind, draft.options.default),
|
|
10617
|
+
when: draft.options.when,
|
|
10495
10618
|
platforms: draft.options.platforms ? [...draft.options.platforms] : void 0,
|
|
10496
10619
|
validation: Object.keys(draft.validation).length > 0 ? draft.validation : void 0,
|
|
10497
10620
|
generate: draft.generate ? { length: draft.generate.length } : void 0,
|
|
@@ -10516,6 +10639,17 @@ function getStackInputDefinitions(value) {
|
|
|
10516
10639
|
function isDeployerSecretInput(input) {
|
|
10517
10640
|
return input.kind === "secret" && input.providedBy.includes("deployer");
|
|
10518
10641
|
}
|
|
10642
|
+
/** Whether an input applies after platform scope and its boolean condition are evaluated. */
|
|
10643
|
+
function stackInputApplies(input, inputs, values, platform) {
|
|
10644
|
+
const onPlatform = (definition) => !platform || !definition.platforms?.length || definition.platforms.includes(platform);
|
|
10645
|
+
if (!onPlatform(input)) return false;
|
|
10646
|
+
if (!input.when) return true;
|
|
10647
|
+
const reference = inputs.find((candidate) => candidate.id === input.when?.input);
|
|
10648
|
+
if (!reference) return false;
|
|
10649
|
+
if (!onPlatform(reference)) return !input.when.equals;
|
|
10650
|
+
const value = values[reference.id] ?? (reference.default?.type === "boolean" ? reference.default.value : void 0);
|
|
10651
|
+
return (value === true || value === "true" ? true : value === false || value === "false" ? false : void 0) === input.when.equals;
|
|
10652
|
+
}
|
|
10519
10653
|
function defineInput(kind, options, validation = {}, generate) {
|
|
10520
10654
|
return {
|
|
10521
10655
|
[stackInputDraftSymbol]: true,
|
|
@@ -10826,7 +10960,7 @@ var Postgres = class extends ResourceBuilder {
|
|
|
10826
10960
|
*
|
|
10827
10961
|
* Use binary units: Ki, Mi, Gi or Ti (e.g. "512Mi", "4Gi"). Decimal units are powers of 1000,
|
|
10828
10962
|
* 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
|
|
10963
|
+
* "8Gi". A number without a unit retains its historical meaning in GiB.
|
|
10830
10964
|
*
|
|
10831
10965
|
* On AWS (Aurora Serverless v2) the ceiling is memory / 2 GiB per ACU, with a minimum of 1 ACU
|
|
10832
10966
|
* (about 2 GiB): Aurora rejects a lower maximum capacity, so anything under "2Gi" is sized
|
|
@@ -10849,6 +10983,7 @@ var Postgres = class extends ResourceBuilder {
|
|
|
10849
10983
|
}
|
|
10850
10984
|
/**
|
|
10851
10985
|
* Enables multi-AZ / regional / zone-redundant high availability. Default `false`.
|
|
10986
|
+
* AWS currently keeps one Aurora compute instance and warns when this is true.
|
|
10852
10987
|
* @param value Whether to enable HA.
|
|
10853
10988
|
* @returns The Postgres builder instance.
|
|
10854
10989
|
*/
|
|
@@ -11034,13 +11169,14 @@ var Sandbox = class extends ResourceBuilder {
|
|
|
11034
11169
|
* .build()
|
|
11035
11170
|
* ```
|
|
11036
11171
|
*/
|
|
11037
|
-
var ServiceAccount = class {
|
|
11172
|
+
var ServiceAccount = class extends ResourceMetadataBuilder {
|
|
11038
11173
|
_config = { stackPermissionSets: [] };
|
|
11039
11174
|
/**
|
|
11040
11175
|
* Creates a new ServiceAccount builder.
|
|
11041
11176
|
* @param id Identifier for the service account. Must contain only alphanumeric characters, hyphens, and underscores ([A-Za-z0-9-_]). Maximum 64 characters.
|
|
11042
11177
|
*/
|
|
11043
11178
|
constructor(id) {
|
|
11179
|
+
super();
|
|
11044
11180
|
this._config.id = id;
|
|
11045
11181
|
}
|
|
11046
11182
|
/**
|
|
@@ -11090,9 +11226,10 @@ var ServiceAccount = class {
|
|
|
11090
11226
|
* @throws Error if the service account configuration is invalid.
|
|
11091
11227
|
*/
|
|
11092
11228
|
build() {
|
|
11093
|
-
|
|
11229
|
+
const config = ServiceAccountSchema.parse(this._config);
|
|
11230
|
+
return this.resource({
|
|
11094
11231
|
type: "service-account",
|
|
11095
|
-
...
|
|
11232
|
+
...config
|
|
11096
11233
|
});
|
|
11097
11234
|
}
|
|
11098
11235
|
};
|
|
@@ -11133,6 +11270,8 @@ var Stack = class {
|
|
|
11133
11270
|
dependencies: []
|
|
11134
11271
|
};
|
|
11135
11272
|
if (options?.remoteAccess) entry.remoteAccess = true;
|
|
11273
|
+
if (resource.displayName !== void 0) entry.displayName = resource.displayName;
|
|
11274
|
+
if (resource.description !== void 0) entry.description = resource.description;
|
|
11136
11275
|
if (resource.enabledWhen !== void 0) entry.enabledWhen = resource.enabledWhen;
|
|
11137
11276
|
this._config.resources[resource.config.id] = entry;
|
|
11138
11277
|
return this;
|
|
@@ -11622,6 +11761,6 @@ function validateOcu(field, value, allowZero) {
|
|
|
11622
11761
|
}
|
|
11623
11762
|
// src/index.ts
|
|
11624
11763
|
const experimental = { AwsOpenSearch };
|
|
11625
|
-
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 };
|
|
11764
|
+
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, BindingValueStringSchema, 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, KubernetesExposureSettingsSchema, 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, StackInputConditionSchema, 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, stackInputApplies, defineStringInput as string, defineStringListInput as stringList, toOperationsConfig };
|
|
11626
11765
|
|
|
11627
11766
|
//# sourceMappingURL=index.js.map
|