HostConfiguration
class HostConfiguration
Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
To remove a script from a fleet, use the UpdateFleet operation with the hostConfiguration``scriptBody
parameter set to an empty string ("").
Types
Properties
Link copied to clipboard
The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. The script runs after a worker enters the STARTING
state and before the worker processes tasks.
Link copied to clipboard
The maximum time that the host configuration can run. If the timeout expires, the worker enters the NOT RESPONDING
state and shuts down. You are charged for the time that the worker is running the host configuration script.