Skip to content

OffPeakWindowOptions

Source code in docs_src/capo_opensearch/types/off_peak_window_options.py
class OffPeakWindowOptions(TypedDict, closed=True):
    enabled: NotRequired["capo_opensearch.types.boolean.Boolean"]
    """<p>Whether to enable an off-peak window.</p> <p>This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.</p>"""
    off_peak_window: NotRequired["capo_opensearch.types.off_peak_window.OffPeakWindow"]
    """<p>Off-peak window settings for the domain.</p>"""

enabled instance-attribute

enabled: NotRequired[Boolean]

Whether to enable an off-peak window.

This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.

off_peak_window instance-attribute

off_peak_window: NotRequired[OffPeakWindow]

Off-peak window settings for the domain.