Skip to content
v2.274.0

DeletionProtectionConfigurationProperty Struct ​

Configuration for deletion protection.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const deletionProtectionConfigurationProperty: bedrock.CfnDataSource.DeletionProtectionConfigurationProperty = {
  deletionProtectionStatus: 'deletionProtectionStatus',

  // the properties below are optional
  deletionProtectionThreshold: 123,
};

Properties ​

deletionProtectionStatusstringdeletion_protection_statusstrdeletionProtectionStatusStringDeletionProtectionStatusstringDeletionProtectionStatus*stringrequired#
Indicates whether a feature is enabled or disabled.
deletionProtectionThresholdoptionalnumberdeletion_protection_thresholdoptionalint | floatdeletionProtectionThresholdoptionalNumberDeletionProtectionThresholdoptionaldoubleDeletionProtectionThresholdoptional*float64= 15#
Threshold for deletion protection.