pub struct StackSettings {
pub deployment_model: Option<DeploymentModel>,
pub domains: Option<DomainSettings>,
pub heartbeats: Option<HeartbeatsMode>,
pub network: Option<NetworkSettings>,
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 agent is deployed and what capabilities are enabled.
Key distinction: StackSettings is user-customizable, while ManagementConfig is platform-derived (from the Agent 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\nagent is deployed and what capabilities are enabled.\n\n**Key distinction**: StackSettings is user-customizable, while ManagementConfig\nis platform-derived (from the Agent Manager's ServiceAccount).",
"type": "object",
"properties": {
"deploymentModel": {
"description": "Deployment model: push (Agent Manager) or pull (Operator).\nDefault: Push for cloud platforms.\nKubernetes and Local platforms only support Pull.",
"allOf": [
{
"$ref": "#/components/schemas/DeploymentModel"
}
]
},
"domains": {
"description": "Domain configuration (future).",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/DomainSettings"
}
]
}
]
},
"heartbeats": {
"description": "How heartbeat health checks are handled.\n- off: No heartbeat permissions\n- on: Heartbeat enabled (default)",
"allOf": [
{
"$ref": "#/components/schemas/HeartbeatsMode"
}
]
},
"network": {
"description": "Network configuration for the stack (VPC/VNet settings).\nIf `None`, an isolated VPC with NAT is auto-created when the stack has resources\nthat require networking (e.g., containers). Set explicitly to customize:\n`UseDefault` for the provider's default network (fast, dev/test only),\n`Create` for an isolated VPC with managed NAT (production), or `ByoVpc*`\nto reference an existing customer-managed VPC.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/NetworkSettings"
}
]
}
]
},
"telemetry": {
"description": "How telemetry (logs, metrics, traces) is handled.\n- off: No telemetry permissions\n- auto: Telemetry flows automatically (default)\n- approval-required: Telemetry waits for explicit approval",
"allOf": [
{
"$ref": "#/components/schemas/TelemetryMode"
}
]
},
"updates": {
"description": "How updates are delivered.\n- auto: Updates deploy automatically (default)\n- approval-required: Updates wait for explicit approval",
"allOf": [
{
"$ref": "#/components/schemas/UpdatesMode"
}
]
}
}
}Fields§
§deployment_model: Option<DeploymentModel>Deployment model: push (Agent Manager) or pull (Operator). Default: Push for cloud platforms. Kubernetes and Local platforms only support Pull.
domains: Option<DomainSettings>Domain configuration (future).
heartbeats: Option<HeartbeatsMode>How heartbeat health checks are handled.
- off: No heartbeat permissions
- on: Heartbeat enabled (default)
network: Option<NetworkSettings>Network configuration for the stack (VPC/VNet settings).
If None, an isolated VPC with NAT is auto-created when the stack has resources
that require networking (e.g., containers). Set explicitly to customize:
UseDefault for the provider’s default network (fast, dev/test only),
Create for an isolated VPC with managed NAT (production), or ByoVpc*
to reference an existing customer-managed VPC.
telemetry: Option<TelemetryMode>How telemetry (logs, metrics, traces) is handled.
- off: No telemetry permissions
- auto: Telemetry flows automatically (default)
- approval-required: Telemetry waits for explicit approval
updates: Option<UpdatesMode>How updates are delivered.
- auto: Updates deploy automatically (default)
- approval-required: Updates wait for explicit approval
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more