DeletionProtectionConfigurationProperty Struct
Configuration for deletion protection.
| Source | |
|---|---|
| Type last changed |
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,
};
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
// 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();
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
};
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
deletionProtectionStatusstringdeletion_protection_statusstrdeletionProtectionStatusStringDeletionProtectionStatusstringDeletionProtectionStatus*string required #Indicates whether a feature is enabled or disabled.
deletionProtectionThresholdoptionalnumberdeletion_protection_thresholdoptionalint | floatdeletionProtectionThresholdoptionalNumberDeletionProtectionThresholdoptionaldoubleDeletionProtectionThresholdoptional*float64 = 15 #Threshold for deletion protection.