enum DeletionProtectionCheck
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.DeletionProtectionCheck |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#DeletionProtectionCheck |
![]() | software.amazon.awscdk.services.appconfig.DeletionProtectionCheck |
![]() | aws_cdk.aws_appconfig.DeletionProtectionCheck |
![]() | aws-cdk-lib » aws_appconfig » DeletionProtectionCheck |
The deletion protection check options.
Example
declare const application: appconfig.Application;
declare const alarm: cloudwatch.Alarm;
declare const compositeAlarm: cloudwatch.CompositeAlarm;
new appconfig.Environment(this, 'MyEnvironment', {
application,
deletionProtectionCheck: appconfig.DeletionProtectionCheck.APPLY,
});
Members
Name | Description |
---|---|
ACCOUNT_DEFAULT | The default setting, which uses account-level deletion protection. |
APPLY | Instructs the deletion protection check to run, even if deletion protection is disabled at the account level. |
BYPASS | Instructs AWS AppConfig to bypass the deletion protection check and delete an environment or a configuration profile even if deletion protection would have otherwise prevented it. |
ACCOUNT_DEFAULT
The default setting, which uses account-level deletion protection.
To configure account-level deletion protection, use the UpdateAccountSettings API.
APPLY
Instructs the deletion protection check to run, even if deletion protection is disabled at the account level.
APPLY also forces the deletion protection check to run against resources created in the past hour, which are normally excluded from deletion protection checks.
BYPASS
Instructs AWS AppConfig to bypass the deletion protection check and delete an environment or a configuration profile even if deletion protection would have otherwise prevented it.