@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.502Z") @Stability(value=Stable) public interface PostgresInstanceEngineProps extends software.amazon.jsii.JsiiSerializable
Used in {@link 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
PostgresInstanceEngineProps.Builder
A builder for
PostgresInstanceEngineProps |
static class |
PostgresInstanceEngineProps.Jsii$Proxy
An implementation for
PostgresInstanceEngineProps |
| Modifier and Type | Method and Description |
|---|---|
static PostgresInstanceEngineProps.Builder |
builder() |
PostgresEngineVersion |
getVersion()
The exact version of the engine to use.
|
@Stability(value=Stable) @NotNull PostgresEngineVersion getVersion()
@Stability(value=Stable) static PostgresInstanceEngineProps.Builder builder()
Copyright © 2022. All rights reserved.