Class AuroraPostgresEngineVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.rds.AuroraPostgresEngineVersion
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2025-01-15T21:09:25.778Z") @Stability(Stable) public class AuroraPostgresEngineVersion extends software.amazon.jsii.JsiiObject
The versions for the Aurora PostgreSQL cluster engine (those returned by DatabaseClusterEngine.auroraPostgres).

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraPostgreSQLReleaseNotes/AuroraPostgreSQL.Updates.html

Example:

 Vpc vpc;
 DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database")
         .engine(DatabaseClusterEngine.auroraPostgres(AuroraPostgresClusterEngineProps.builder().version(AuroraPostgresEngineVersion.VER_15_2).build()))
         .credentials(Credentials.fromUsername("adminuser", CredentialsFromUsernameOptions.builder().password(SecretValue.unsafePlainText("7959866cacc02c2d243ecfe177464fe6")).build()))
         .writer(ClusterInstance.provisioned("writer", ProvisionedClusterInstanceProps.builder()
                 .publiclyAccessible(false)
                 .build()))
         .readers(List.of(ClusterInstance.provisioned("reader")))
         .storageType(DBClusterStorageType.AURORA_IOPT1)
         .vpcSubnets(SubnetSelection.builder()
                 .subnetType(SubnetType.PRIVATE_WITH_EGRESS)
                 .build())
         .vpc(vpc)
         .build();