Class: Aws::AppConfig::Types::DeletionProtectionSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppConfig::Types::DeletionProtectionSettings
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appconfig/types.rb
Overview
A parameter to configure deletion protection. If enabled, 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.
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.
[1]: docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
A parameter that indicates if deletion protection is enabled or not.
-
#protection_period_in_minutes ⇒ Integer
The time interval during which AppConfig monitors for calls to [GetLatestConfiguration] or for a configuration profile or from an environment.
Instance Attribute Details
#enabled ⇒ Boolean
A parameter that indicates if deletion protection is enabled or not.
1030 1031 1032 1033 1034 1035 |
# File 'lib/aws-sdk-appconfig/types.rb', line 1030 class DeletionProtectionSettings < Struct.new( :enabled, :protection_period_in_minutes) SENSITIVE = [] include Aws::Structure end |
#protection_period_in_minutes ⇒ Integer
The time interval during which AppConfig monitors for calls to
- GetLatestConfiguration][1
-
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 .
[1]: docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
1030 1031 1032 1033 1034 1035 |
# File 'lib/aws-sdk-appconfig/types.rb', line 1030 class DeletionProtectionSettings < Struct.new( :enabled, :protection_period_in_minutes) SENSITIVE = [] include Aws::Structure end |