Skip to content
v2.278.0

DeletionProtectionProperty ​

Struct External

Specifies whether the policy store can be deleted.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as verifiedpermissions } from 'aws-cdk-lib';
const deletionProtectionProperty: verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty = {
  mode: 'mode',
};
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_verifiedpermissions as verifiedpermissions

deletion_protection_property = verifiedpermissions.CfnPolicyStore.DeletionProtectionProperty(
    mode="mode"
)
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.verifiedpermissions.*;

DeletionProtectionProperty deletionProtectionProperty = DeletionProtectionProperty.builder()
        .mode("mode")
        .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.VerifiedPermissions;

var deletionProtectionProperty = new DeletionProtectionProperty {
    Mode = "mode"
};
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"

deletionProtectionProperty := &DeletionProtectionProperty{
	Mode: jsii.String("mode"),
}

Properties ​

modestringmodestrmodeStringModestringMode*string = "DISABLED" required #
Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.

The default state is DISABLED .