services.amazon-cloudwatch-agent.mode
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
- <nixpkgs/nixos/modules/services/monitoring/amazon-cloudwatch-agent.nix>