{
  "version": "1.0.0",
  "stack": {
    "name": "uptime",
    "kind": "l1",
    "depth": 1
  },
  "resources": [
    {
      "id": "uptime",
      "type": "aws:ecs:uptime-service",
      "module": "uptime@1.0.0",
      "inputs": {
        "container_image": "louislam/uptime-kuma:1",
        "region": "us-east-1",
        "feature_flag_enabled": true,
        "cpu": 256,
        "memory": 512,
        "monitored_endpoints": [
          {"name": "example", "url": "https://example.com", "type": "http", "interval_seconds": 60, "timeout_seconds": 30}
        ],
        "alert_channels": {
          "teams_webhook": "https://hooks.example.com/webhook",
          "email_addresses": ["oncall@example.com"]
        }
      },
      "outputs": {
        "uptime_url": {"type": "string"},
        "service_arn": {"type": "arn"},
        "task_definition_arn": {"type": "arn"}
      },
      "nfrs": {
        "deletion_protection": true,
        "encryption_enabled": true
      }
    }
  ]
}