ClusterScailabilityType

class aws_cdk.aws_rds.ClusterScailabilityType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The scalability mode of the Aurora DB cluster.

ExampleMetadata:

infused

Example:

# vpc: ec2.IVpc


rds.DatabaseCluster(self, "LimitlessDatabaseCluster",
    engine=rds.DatabaseClusterEngine.aurora_postgres(
        version=rds.AuroraPostgresEngineVersion.VER_16_4_LIMITLESS
    ),
    vpc=vpc,
    cluster_scailability_type=rds.ClusterScailabilityType.LIMITLESS,
    # Requires enabling Performance Insights
    enable_performance_insights=True,
    performance_insight_retention=rds.PerformanceInsightRetention.MONTHS_1,
    # Requires enabling Enhanced Monitoring at the cluster level
    monitoring_interval=Duration.minutes(1),
    enable_cluster_level_enhanced_monitoring=True,
    # Requires I/O optimized storage type
    storage_type=rds.DBClusterStorageType.AURORA_IOPT1,
    # Requires exporting the PostgreSQL log to Amazon CloudWatch Logs.
    cloudwatch_logs_exports=["postgresql"]
)

Attributes

LIMITLESS

The cluster operates as an Aurora Limitless Database, allowing you to create a DB shard group for horizontal scaling (sharding) capabilities.

See:

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/limitless.html

STANDARD

The cluster uses normal DB instance creation.