Dormeto

Docs

dormeto aws types

The organization's workload types: each selects workloads by their tags, and sets their defaults.

1 min read

types delete

Removes a custom type; a built-in one stays.

dormeto aws types delete <name> [--dry-run] [--yes]
OptionValuesDefaultEffect
<name>a type's namerequiredThe type.
dormeto aws types delete batch

Table

type batch removed: routers apply it at their next check, within 5 minutes

JSON

{
  "types": [
    {
      "name": "batch",
      "description": "Night batches",
      "tags": {
        "team": "batch"
      },
      "settings": {
        "idleMinutes": 15,
        "wakeMode": "any"
      }
    },
    {
      "name": "web",
      "description": "Public sites",
      "tags": {
        "team": "web"
      },
      "settings": {
        "idleMinutes": 20
      }
    }
  ],
  "builtIn": [
    "instance",
    "asg",
    "ecs",
    "k8s",
    "databases"
  ],
  "updatedAt": "2026-11-14T10:00:00.000Z",
  "updatedBy": "ops@example.com",
  "note": "routers apply it at their next check, within 5 minutes"
}
  • Its workloads take the next type their tags select, else their built-in one.
  • It needs an administrator.

types list

Lists the custom types in order, then the built-in ones.

dormeto aws types list

No option of its own.

dormeto aws types list

Table

batch (team=batch): idle window 15 min, wake mode any
web (team=web): idle window 20 min
instance (built-in): no defaults
asg (built-in): no defaults
ecs (built-in): no defaults
k8s (built-in): no defaults
databases (built-in): no defaults

JSON

{
  "types": [
    {
      "description": "Night batches",
      "name": "batch",
      "settings": {
        "idleMinutes": 15,
        "wakeMode": "any"
      },
      "tags": {
        "team": "batch"
      }
    },
    {
      "description": "Public sites",
      "name": "web",
      "settings": {
        "idleMinutes": 20
      },
      "tags": {
        "team": "web"
      }
    }
  ],
  "builtIn": [
    "instance",
    "asg",
    "ecs",
    "k8s",
    "databases"
  ],
  "note": ""
}

types set

Adds or changes a custom type; a built-in one takes settings only.

dormeto aws types set <name> [--description <text>] [--tag k=v]... [<settings>] [--dry-run] [--yes]
OptionValuesDefaultEffect
<name>a type's namerequiredThe type.
--descriptiona text—What the type is for.
--tagk=v, repeatable—The tags that select the type, replacing them.
--idle-minutesminutes or inherit—Idle window.
--wait-secondsseconds or inherit—Hold.
--drain-secondsseconds or inherit—Drain.
--wake-timeout-secondsseconds or inherit—Wake timeout.
--max-holdersrequests or inherit—Held requests.
--failed-retry-secondsseconds or inherit—Retry after a failed wake.
--wake-modeany, browser or inherit—Wake mode.
--no-wake-rules-filea JSON file, - or inherit—No-wake rules.
--wake-rules-filea JSON file, - or inherit—Wake rules.
dormeto aws types set batch --tag team=batch --idle-minutes 15

Table

type batch saved: routers apply it at their next check, within 5 minutes

JSON

{
  "types": [
    {
      "name": "batch",
      "description": "Night batches",
      "tags": {
        "team": "batch"
      },
      "settings": {
        "idleMinutes": 15,
        "wakeMode": "any"
      }
    },
    {
      "name": "web",
      "description": "Public sites",
      "tags": {
        "team": "web"
      },
      "settings": {
        "idleMinutes": 20
      }
    }
  ],
  "builtIn": [
    "instance",
    "asg",
    "ecs",
    "k8s",
    "databases"
  ],
  "updatedAt": "2026-11-14T10:00:00.000Z",
  "updatedBy": "ops@example.com",
  "note": "routers apply it at their next check, within 5 minutes"
}
  • <settings> stands for the options from --idle-minutes on; one left out keeps its value.
  • The routers apply it at their next check, within 5 minutes.
  • It needs an administrator.

types show

Shows a type: its tags, its defaults and its description.

dormeto aws types show <name>
OptionValuesDefaultEffect
<name>a type's namerequiredThe type.
dormeto aws types show batch

Table

batch (team=batch): idle window 15 min, wake mode any
Night batches

JSON

{
  "builtIn": false,
  "description": "Night batches",
  "name": "batch",
  "settings": {
    "idleMinutes": 15,
    "wakeMode": "any"
  },
  "tags": {
    "team": "batch"
  }
}