Class: Aws::AppConfig::Types::DeletionProtectionSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppConfig::Types::DeletionProtectionSettings
- Defined in:
- gems/aws-sdk-appconfig/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.
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][1] 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.
1032 1033 1034 1035 1036 1037 |
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 1032 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 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 .
1032 1033 1034 1035 1036 1037 |
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 1032 class DeletionProtectionSettings < Struct.new( :enabled, :protection_period_in_minutes) SENSITIVE = [] include Aws::Structure end |