Show / Hide Table of Contents

Class PostgresInstanceEngineProps

Properties for PostgreSQL instance engines.

Inheritance
System.Object
PostgresInstanceEngineProps
Implements
IPostgresInstanceEngineProps
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class PostgresInstanceEngineProps : Object, IPostgresInstanceEngineProps
Syntax (vb)
Public Class PostgresInstanceEngineProps
    Inherits Object
    Implements IPostgresInstanceEngineProps
Remarks

Used in {@link DatabaseInstanceEngine.postgres}.

ExampleMetadata: infused

Examples
Vpc vpc;

var engine = DatabaseInstanceEngine.Postgres(new PostgresInstanceEngineProps { Version = PostgresEngineVersion.VER_12_3 });
var myKey = new Key(this, "MyKey");

new DatabaseInstance(this, "InstanceWithCustomizedSecret", new DatabaseInstanceProps {
    Engine = engine,
    Vpc = vpc,
    Credentials = Credentials.FromGeneratedSecret("postgres", new CredentialsBaseOptions {
        SecretName = "my-cool-name",
        EncryptionKey = myKey,
        ExcludeCharacters = "!&*^#@()",
        ReplicaRegions = new [] { new ReplicaRegion { Region = "eu-west-1" }, new ReplicaRegion { Region = "eu-west-2" } }
    })
});

Synopsis

Constructors

PostgresInstanceEngineProps()

Properties

Version

The exact version of the engine to use.

Constructors

PostgresInstanceEngineProps()

public PostgresInstanceEngineProps()

Properties

Version

The exact version of the engine to use.

public PostgresEngineVersion Version { get; set; }
Property Value

PostgresEngineVersion

Implements

IPostgresInstanceEngineProps
Back to top Generated by DocFX