Skip to content

DeletionProtectionSettings

Source code in docs_src/capo_appconfig/types/deletion_protection_settings.py
class DeletionProtectionSettings(TypedDict, closed=True):
    enabled: NotRequired["capo_appconfig.types.boolean.Boolean"]
    """<p>A parameter that indicates if deletion protection is enabled or not.</p>"""
    protection_period_in_minutes: NotRequired[
        "capo_appconfig.types.deletion_protection_duration.DeletionProtectionDuration"
    ]
    """<p>The time interval during which AppConfig monitors for calls to <a href="https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html">GetLatestConfiguration</a> or for a configuration profile or from an environment. AppConfig returns an error if a user calls or for the designated configuration profile or environment. To bypass the error and delete a configuration profile or an environment, specify <code>BYPASS</code> for the <code>DeletionProtectionCheck</code> parameter for either or .</p>"""

enabled instance-attribute

enabled: NotRequired[Boolean]

A parameter that indicates if deletion protection is enabled or not.

protection_period_in_minutes instance-attribute

protection_period_in_minutes: NotRequired[DeletionProtectionDuration]

The time interval during which AppConfig monitors for calls to GetLatestConfiguration or for a configuration profile or from an environment. AppConfig returns an error if a user calls or for the designated configuration profile or environment. To bypass the error and delete a configuration profile or an environment, specify BYPASS for the DeletionProtectionCheck parameter for either or .