LifecycleHookActionDict¶
Union Type¶
LifecycleHookActionDict
module-attribute
¶
LifecycleHookActionDict = Union[LifecycleHookActionHttpPostDict]
Dictionary form of LifecycleHookAction, setting exactly one variant.
Union Member Types¶
LifecycleHookActionHttpPostDict
¶
Bases: TypedDict
Attributes¶
http_post
instance-attribute
¶
Sends an HTTP POST request to your agent's container on the specified
port and path to run the hook. The hook succeeds if your container
returns a 2xx response. The hook fails if your container returns any
other response or doesn't respond before the hook times out.