# Class LifecycleConfig (5.28.0)

5.28.0 (latest) 5.27.0 5.26.0 5.25.0 5.24.0 5.23.0 5.22.0 5.21.0 5.20.0 5.18.1 5.17.1 5.16.0 5.15.1 5.14.0 5.13.0 5.12.0 5.10.2 5.9.3 5.8.0 5.7.0 5.6.0 5.5.1 5.4.3 5.3.0 5.2.0 5.1.0 5.0.3 4.0.3 3.3.2 3.2.0 3.1.1 3.0.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.0.2 1.1.3 1.0.1 0.8.2 0.7.0 0.6.1 0.5.0

    LifecycleConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies the cluster auto-delete schedule configuration.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `idle_delete_ttl` | `google.protobuf.duration_pb2.Duration` Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of `Duration `__). |
| `auto_delete_time` | `google.protobuf.timestamp_pb2.Timestamp` Optional. The time when cluster will be auto-deleted (see JSON representation of `Timestamp `__). This field is a member of `oneof`_ `ttl`. |
| `auto_delete_ttl` | `google.protobuf.duration_pb2.Duration` Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of `Duration `__). This field is a member of `oneof`_ `ttl`. |
| `idle_stop_ttl` | `google.protobuf.duration_pb2.Duration` Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of `Duration `__). |
| `auto_stop_time` | `google.protobuf.timestamp_pb2.Timestamp` Optional. The time when cluster will be auto-stopped (see JSON representation of `Timestamp `__). This field is a member of `oneof`_ `stop_ttl`. |
| `auto_stop_ttl` | `google.protobuf.duration_pb2.Duration` Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of `Duration `__). This field is a member of `oneof`_ `stop_ttl`. |
| `idle_start_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when cluster became idle (most recent job finished) and became eligible for deletion due to idleness (see JSON representation of `Timestamp `__). |