pub struct StackSettings {
pub compute: Option<ComputeSettings>,
pub deployment_model: Option<DeploymentModel>,
pub domains: Option<DomainSettings>,
pub external_bindings: Option<Map<String, Value>>,
pub heartbeats: Option<HeartbeatsMode>,
pub kubernetes: Option<KubernetesSettings>,
pub network: Option<NetworkSettings>,
pub public_endpoints: Option<HashMap<String, HashMap<String, String>>>,
pub telemetry: Option<TelemetryMode>,
pub updates: Option<UpdatesMode>,
}Expand description
User-customizable deployment settings specified at deploy time.
These settings are provided by the customer via CloudFormation parameters, Terraform attributes, CLI flags, or Helm values. They customize how the deployment runs and what capabilities are enabled.
Key distinction: StackSettings is user-customizable, while ManagementConfig is platform-derived (from the Manager’s ServiceAccount).
JSON schema
{
"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).",
"type": "object",
"properties": {
"compute": {
"$ref": "#/components/schemas/ComputeSettings"
},
"deploymentModel": {
"$ref": "#/components/schemas/DeploymentModel"
},
"domains": {
"$ref": "#/components/schemas/DomainSettings"
},
"externalBindings": {
"description": "External bindings for pre-existing infrastructure.\nAllows using existing resources (MinIO, Redis, shared Container Apps\nEnvironment, etc.) instead of having Alien provision them.\nRequired for Kubernetes platform, optional for cloud platforms.",
"type": [
"object",
"null"
]
},
"heartbeats": {
"$ref": "#/components/schemas/HeartbeatsMode"
},
"kubernetes": {
"$ref": "#/components/schemas/KubernetesSettings"
},
"network": {
"$ref": "#/components/schemas/NetworkSettings"
},
"publicEndpoints": {
"description": "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.",
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"telemetry": {
"$ref": "#/components/schemas/TelemetryMode"
},
"updates": {
"$ref": "#/components/schemas/UpdatesMode"
}
}
}Fields§
§compute: Option<ComputeSettings>§deployment_model: Option<DeploymentModel>§domains: Option<DomainSettings>§external_bindings: Option<Map<String, Value>>External bindings for pre-existing infrastructure. Allows using existing resources (MinIO, Redis, shared Container Apps Environment, etc.) instead of having Alien provision them. Required for Kubernetes platform, optional for cloud platforms.
heartbeats: Option<HeartbeatsMode>§kubernetes: Option<KubernetesSettings>§network: Option<NetworkSettings>§public_endpoints: Option<HashMap<String, HashMap<String, String>>>Exact externally managed endpoint URLs, keyed by resource ID and endpoint name.
This is intended for adopted Machines deployments whose DNS and certificates remain customer-owned. The platform passes these URLs to the runtime without creating or replacing DNS records or certificates.
telemetry: Option<TelemetryMode>§updates: Option<UpdatesMode>Implementations§
Source§impl StackSettings
impl StackSettings
pub fn builder() -> StackSettings
Trait Implementations§
Source§impl Clone for StackSettings
impl Clone for StackSettings
Source§fn clone(&self) -> StackSettings
fn clone(&self) -> StackSettings
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more