Enum ClusterScalabilityType
- All Implemented Interfaces:
Serializable
,Comparable<ClusterScalabilityType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-06T22:16:01.454Z")
@Stability(Stable)
public enum ClusterScalabilityType
extends Enum<ClusterScalabilityType>
The scalability mode of the Aurora DB cluster.
Example:
IVpc vpc; DatabaseCluster.Builder.create(this, "LimitlessDatabaseCluster") .engine(DatabaseClusterEngine.auroraPostgres(AuroraPostgresClusterEngineProps.builder() .version(AuroraPostgresEngineVersion.VER_16_4_LIMITLESS) .build())) .vpc(vpc) .clusterScalabilityType(ClusterScalabilityType.LIMITLESS) // Requires enabling Performance Insights .enablePerformanceInsights(true) .performanceInsightRetention(PerformanceInsightRetention.MONTHS_1) // Requires enabling Enhanced Monitoring at the cluster level .monitoringInterval(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(List.of("postgresql")) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterScalabilityType
Returns the enum constant of this type with the specified name.static ClusterScalabilityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-