Optional ReadonlydisabledExplicitly disable and stop the service.
Use cases: Security hardening; Disabling unnecessary services
AWS: CloudFormation::Init services disabled
Validation: Optional; boolean
Optional ReadonlyenabledEnable the service to start automatically on boot.
Use cases: Persistent service startup; Boot-time service availability
AWS: CloudFormation::Init services enabled
Validation: Optional; boolean
Optional ReadonlyensureEnsure the service is running after init completes.
Use cases: Service availability verification; Post-init service state
AWS: CloudFormation::Init services ensureRunning
Validation: Optional; boolean
Optional ReadonlyrestartWhen true, restarts this service after associated commands, files, or packages complete. The service must also have restartRequired: true in the triggering element.
Use cases: Config-driven service reload; Post-deployment service refresh
AWS: CloudFormation::Init restart handle
Validation: Optional; boolean
System service configuration for CloudFormation Init. Supports sysvinit/systemd on Linux and Windows Service Manager on Windows.