/AWS1/CL_APCDELETIONPROTECTI00¶
A parameter to configure deletion protection. Deletion protection prevents a user from deleting a configuration profile or an environment if AppConfig has called either GetLatestConfiguration or for the configuration profile or from the environment during the specified interval.
The default interval specified by ProtectionPeriodInMinutes is 60.
DeletionProtectionCheck skips configuration profiles and environments that
were created in the past hour.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_enabled TYPE /AWS1/APCBOOLEAN /AWS1/APCBOOLEAN¶
A parameter that indicates if deletion protection is enabled or not.
iv_protectionperiodinminutes TYPE /AWS1/APCDELETIONPROTECTIONDUR /AWS1/APCDELETIONPROTECTIONDUR¶
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
BYPASSfor theDeletionProtectionCheckparameter for either or .
Queryable Attributes¶
Enabled¶
A parameter that indicates if deletion protection is enabled or not.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENABLED() |
Getter for ENABLED, with configurable default |
ASK_ENABLED() |
Getter for ENABLED w/ exceptions if field has no value |
HAS_ENABLED() |
Determine if ENABLED has a value |
ProtectionPeriodInMinutes¶
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
BYPASSfor theDeletionProtectionCheckparameter for either or .
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PROTECTIONPERINMINUTES() |
Getter for PROTECTIONPERIODINMINUTES, with configurable defa |
ASK_PROTECTIONPERINMINUTES() |
Getter for PROTECTIONPERIODINMINUTES w/ exceptions if field |
HAS_PROTECTIONPERINMINUTES() |
Determine if PROTECTIONPERIODINMINUTES has a value |