Enum Class ClusterScailabilityType

java.lang.Object
java.lang.Enum<ClusterScailabilityType>
software.amazon.awscdk.services.rds.ClusterScailabilityType
All Implemented Interfaces:
Serializable, Comparable<ClusterScailabilityType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2025-01-04T09:06:29.491Z") @Stability(Stable) public enum ClusterScailabilityType extends Enum<ClusterScailabilityType>
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)
         .clusterScailabilityType(ClusterScailabilityType.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 ClusterScailabilityType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ClusterScailabilityType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null