DeletionProtectionSettings
A parameter to configure deletion protection. If enabled, deletion protection prevents a user from deleting a configuration profile or an environment if Amazon AppConfig has called either GetLatestConfiguration or GetConfiguration for the configuration profile or from the environment during the specified interval.
This setting uses the following default values:
-
Deletion protection is disabled by default.
-
The default interval specified by
ProtectionPeriodInMinutes
is 60. -
DeletionProtectionCheck
skips configuration profiles and environments that were created in the past hour.
Contents
- Enabled
-
A parameter that indicates if deletion protection is enabled or not.
Type: Boolean
Required: No
- ProtectionPeriodInMinutes
-
The time interval during which Amazon AppConfig monitors for calls to GetLatestConfiguration or GetConfiguration for a configuration profile or from an environment. Amazon AppConfig returns an error if a user calls DeleteConfigurationProfile or DeleteEnvironment for the designated configuration profile or environment. To bypass the error and delete a configuration profile or an environment, specify
BYPASS
for theDeletionProtectionCheck
parameter for either DeleteConfigurationProfile or DeleteEnvironment.Type: Integer
Valid Range: Minimum value of 15. Maximum value of 1440.
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: