Interface PostgresInstanceEngineProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PostgresInstanceEngineProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.252Z")
@Stability(Stable)
public interface PostgresInstanceEngineProps
extends software.amazon.jsii.JsiiSerializable
Properties for PostgreSQL instance engines.
Used in DatabaseInstanceEngine.postgres.
Example:
Vpc vpc;
IInstanceEngine engine = DatabaseInstanceEngine.postgres(PostgresInstanceEngineProps.builder().version(PostgresEngineVersion.VER_12_3).build());
Key myKey = new Key(this, "MyKey");
DatabaseInstance.Builder.create(this, "InstanceWithCustomizedSecret")
.engine(engine)
.vpc(vpc)
.credentials(Credentials.fromGeneratedSecret("postgres", CredentialsBaseOptions.builder()
.secretName("my-cool-name")
.encryptionKey(myKey)
.excludeCharacters("!&*^#@()")
.replicaRegions(List.of(ReplicaRegion.builder().region("eu-west-1").build(), ReplicaRegion.builder().region("eu-west-2").build()))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPostgresInstanceEnginePropsstatic final classAn implementation forPostgresInstanceEngineProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVersion
The exact version of the engine to use. -
builder
-