interface PostgresInstanceEngineProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.RDS.PostgresInstanceEngineProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#PostgresInstanceEngineProps |
![]() | software.amazon.awscdk.services.rds.PostgresInstanceEngineProps |
![]() | aws_cdk.aws_rds.PostgresInstanceEngineProps |
![]() | aws-cdk-lib » aws_rds » PostgresInstanceEngineProps |
Properties for PostgreSQL instance engines.
Used in DatabaseInstanceEngine.postgres
.
Example
declare const vpc: ec2.Vpc;
const engine = rds.DatabaseInstanceEngine.postgres({ version: rds.PostgresEngineVersion.VER_16_3 });
const myKey = new kms.Key(this, 'MyKey');
new rds.DatabaseInstance(this, 'InstanceWithCustomizedSecret', {
engine,
vpc,
credentials: rds.Credentials.fromGeneratedSecret('postgres', {
secretName: 'my-cool-name',
encryptionKey: myKey,
excludeCharacters: '!&*^#@()',
replicaRegions: [{ region: 'eu-west-1' }, { region: 'eu-west-2' }],
}),
});
Properties
Name | Type | Description |
---|---|---|
version | Postgres | The exact version of the engine to use. |
version
Type:
Postgres
The exact version of the engine to use.