Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer committed Nov 23, 2024
1 parent c939a56 commit 2c71405
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/aws-cdk-lib/aws-rds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1417,3 +1417,31 @@ new rds.DatabaseCluster(this, 'Cluster', {
monitoringRole,
});
```

## Limitless Database Cluster

Amazon Aurora [PostgreSQL Limitless Database](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/limitless.html) provides automated horizontal scaling to process millions of write transactions per second and manages petabytes of data while maintaining the simplicity of operating inside a single database.

The following example shows creating an Aurora PostgreSQL Limitless Database cluster:

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

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

0 comments on commit 2c71405

Please sign in to comment.