# DeletionProtectionConfigurationProperty

Configuration for deletion protection.

- Source: Generated at build time
- Type last changed: v2.261.0 · 2 Jul 2026

## Example

TypeScript:

```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,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

deletion_protection_configuration_property = bedrock.CfnDataSource.DeletionProtectionConfigurationProperty(
    deletion_protection_status="deletionProtectionStatus",

    # the properties below are optional
    deletion_protection_threshold=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;

DeletionProtectionConfigurationProperty deletionProtectionConfigurationProperty = DeletionProtectionConfigurationProperty.builder()
        .deletionProtectionStatus("deletionProtectionStatus")

        // the properties below are optional
        .deletionProtectionThreshold(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var deletionProtectionConfigurationProperty = new DeletionProtectionConfigurationProperty {
    DeletionProtectionStatus = "deletionProtectionStatus",

    // the properties below are optional
    DeletionProtectionThreshold = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

deletionProtectionConfigurationProperty := &DeletionProtectionConfigurationProperty{
	DeletionProtectionStatus: jsii.String("deletionProtectionStatus"),

	// the properties below are optional
	DeletionProtectionThreshold: jsii.Number(123),
}
```

## Properties

- `deletionProtectionStatus`: string (required) — Indicates whether a feature is enabled or disabled.

- `deletionProtectionThreshold`: number = 15 — Threshold for deletion protection.
