Skip to content

Lifecycled

services.lifecycled.awsRegion

The region used for accessing AWS services.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.cloudwatchGroup

Write logs to a specific Cloudwatch Logs group.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.cloudwatchStream

Write logs to a specific Cloudwatch Logs stream. Defaults to the instance ID.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.debug

Enable debugging information.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.enable

Whether to enable lifecycled, a daemon for responding to AWS AutoScaling Lifecycle Hooks. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.handler

The script to invoke to handle events.

Type: path

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.instanceId

The instance ID to listen for events for.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.json

Enable JSON logging.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.noSpot

Disable the spot termination listener.

Type: boolean

Default

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.queueCleaner.enable

Whether to enable lifecycled-queue-cleaner. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.queueCleaner.frequency

How often to trigger the queue cleaner.

NOTE: This string should be a valid value for a systemd timer's OnCalendar configuration. See {manpage}systemd.timer(5) for more information.

Type: string

Default

"hourly"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.queueCleaner.parallel

The number of parallel deletes to run.

Type: unsigned integer, meaning >=0

Default

20

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix

services.lifecycled.snsTopic

The SNS topic that receives events.

Type: null or string

Default

null

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/misc/lifecycled.nix