Interface IAuroraPostgresClusterEngineProps
Creation properties of the Aurora PostgreSQL database cluster engine.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAuroraPostgresClusterEngineProps
Syntax (vb)
Public Interface IAuroraPostgresClusterEngineProps
Remarks
Used in DatabaseClusterEngine.auroraPostgres
.
ExampleMetadata: infused
Examples
Vpc vpc;
var cluster = new DatabaseCluster(this, "Database", new DatabaseClusterProps {
Engine = DatabaseClusterEngine.AuroraPostgres(new AuroraPostgresClusterEngineProps { Version = AuroraPostgresEngineVersion.VER_15_2 }),
Credentials = Credentials.FromUsername("adminuser", new CredentialsFromUsernameOptions { Password = SecretValue.UnsafePlainText("7959866cacc02c2d243ecfe177464fe6") }),
Writer = ClusterInstance.Provisioned("writer", new ProvisionedClusterInstanceProps {
PubliclyAccessible = false
}),
Readers = new [] { ClusterInstance.Provisioned("reader") },
StorageType = DBClusterStorageType.AURORA_IOPT1,
VpcSubnets = new SubnetSelection {
SubnetType = SubnetType.PRIVATE_WITH_EGRESS
},
Vpc = vpc
});
Synopsis
Properties
Version | The version of the Aurora PostgreSQL cluster engine. |
Properties
Version
The version of the Aurora PostgreSQL cluster engine.
AuroraPostgresEngineVersion Version { get; }
Property Value