> **Experimental**
>
> `@aws-cdk/aws-dsql-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# ClusterProps

Properties for a new Aurora DSQL cluster.

Used as props by: [Cluster](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-dsql-alpha.Cluster.html)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-dsql-alpha/lib/cluster.ts#L14)

## Example

TypeScript:

```ts
const cluster = new dsql.Cluster(this, 'Cluster', {
  clusterName: 'my-dsql-cluster',
  deletionProtection: true,
});
```

Python:

```python
cluster = dsql.Cluster(self, "Cluster",
    cluster_name="my-dsql-cluster",
    deletion_protection=True
)
```

Java:

```java
Cluster cluster = Cluster.Builder.create(this, "Cluster")
        .clusterName("my-dsql-cluster")
        .deletionProtection(true)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.DSQL.Alpha
var cluster = new Cluster(this, "Cluster", new ClusterProps {
    ClusterName = "my-dsql-cluster",
    DeletionProtection = true
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkdsqlalpha/v2
cluster := dsql.NewCluster(this, jsii.String("Cluster"), &ClusterProps{
	ClusterName: jsii.String("my-dsql-cluster"),
	DeletionProtection: jsii.Boolean(true),
})
```

## Properties

- `clusterName`: string — The name of the DSQL cluster.

  **Default:** No name specified.

  This is applied via the `Name` tag.

- `deletionProtection`: boolean — Specifies whether this cluster can be deleted.

  **Default:** true if `removalPolicy` is RETAIN, undefined otherwise.

  If deletionProtection is
  enabled, the cluster cannot be deleted unless it is modified and
  deletionProtection is disabled. deletionProtection protects clusters from
  being accidentally deleted.

- `removalPolicy`: [RemovalPolicy](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.RemovalPolicy.html) — The removal policy to apply when the cluster is removed or replaced during a stack update, or when the stack is deleted.

  **Default:** Retain cluster.
