Enum ClusterScalabilityType

java.lang.Object
java.lang.Enum<ClusterScalabilityType>
software.amazon.awscdk.services.rds.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();
 
  • Enum Constant Details

  • Method Details

    • values

      public static ClusterScalabilityType[] 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

      public static ClusterScalabilityType valueOf(String name)
      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 name
      NullPointerException - if the argument is null