Interface AuroraPostgresClusterEngineProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AuroraPostgresClusterEngineProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.95.0 (build f1ff514)", date="2024-03-26T18:09:28.809Z") @Stability(Stable) public interface AuroraPostgresClusterEngineProps extends software.amazon.jsii.JsiiSerializable
Creation properties of the Aurora PostgreSQL database cluster engine.

Used in DatabaseClusterEngine.auroraPostgres.

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();