# ClusterScalabilityType

The scalability mode of the Aurora DB cluster.

- Source: [`aws-rds/lib/cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-rds/lib/cluster.ts#L560)
- Type last changed: v2.176.0 · 15 Jan 2025

## Example

```ts
declare const vpc: ec2.IVpc;

new rds.DatabaseCluster(this, 'LimitlessDatabaseCluster', {
  engine: rds.DatabaseClusterEngine.auroraPostgres({
    version: rds.AuroraPostgresEngineVersion.VER_16_4_LIMITLESS,
  }),
  vpc,
  clusterScalabilityType: rds.ClusterScalabilityType.LIMITLESS,
  // Requires enabling Performance Insights
  enablePerformanceInsights: true,
  performanceInsightRetention: rds.PerformanceInsightRetention.MONTHS_1,
  // Requires enabling Enhanced Monitoring at the cluster level
  monitoringInterval: Duration.minutes(1),
  enableClusterLevelEnhancedMonitoring: true,
  // Requires I/O optimized storage type
  storageType: rds.DBClusterStorageType.AURORA_IOPT1,
  // Requires exporting the PostgreSQL log to Amazon CloudWatch Logs.
  cloudwatchLogsExports: ['postgresql'],
});
```

## Members

| Member | Description |
| --- | --- |
| `STANDARD` | The cluster uses normal DB instance creation. |
| `LIMITLESS` | The cluster operates as an Aurora Limitless Database, allowing you to create a DB shard group for horizontal scaling (sharding) capabilities. |

## Referenced by

- [`DatabaseClusterFromSnapshotProps`](/v2/docs/aws-cdk-lib.aws_rds.DatabaseClusterFromSnapshotProps).clusterScalabilityType
- [`DatabaseClusterProps`](/v2/docs/aws-cdk-lib.aws_rds.DatabaseClusterProps).clusterScalabilityType
