services.amazon-cloudwatch-agent.mode

NixOS option

Amazon CloudWatch Agent mode. Indicates whether the agent is running in EC2 (“ec2”), on-premises (“onPremise”), or if it should guess based on metadata endpoints like IMDS or the ECS task metadata endpoint (“auto”).

type: string
Default
"auto"
Example
"onPremise"
declared in: nixos/modules/services/monitoring/amazon-cloudwatch-agent.nixView source on NixOS/nixpkgs →