LifecycleConfiguration Class

The lifecycle configuration properties of a session in the dynamic session pool.

Constructor

LifecycleConfiguration()

Variables

Name Description
lifecycleType
Union[str, <xref:"LifecycleType">]

The lifecycle type of the session pool. Known values are: "Timed" and "OnContainerExit".

cooldownPeriodInSeconds
int

The cooldown period of a session in seconds when the lifecycle type is 'Timed'.

maxAlivePeriodInSeconds
int

The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.

Attributes

cooldownPeriodInSeconds

The cooldown period of a session in seconds when the lifecycle type is 'Timed'.

cooldownPeriodInSeconds: int

lifecycleType

"Timed" and "OnContainerExit".

lifecycleType: str | LifecycleType

maxAlivePeriodInSeconds

The maximum alive period of a session in seconds when the lifecycle type is 'OnContainerExit'.

maxAlivePeriodInSeconds: int