AwsRdsPostgresqlDatabaseUsersArgs

interface AwsRdsPostgresqlDatabaseUsersArgs { mysql?: undefined; postgresql: { database?: string; users: Record<string, AwsRdsPostgresqlUserArgs> }; }

Aurora PostgreSQL database-user configuration.

Example

CODE
import type { AwsRdsPostgresqlDatabaseUsersArgs } from '@jobcloud/aws-rds';
import { onePasswordSecret } from '@jobcloud/pulumi-helpers';

const postgresql: AwsRdsPostgresqlDatabaseUsersArgs = {
  postgresql: { users: { application: { password: onePasswordSecret({ title: 'application-database-password' }) } } },
};

Properties

mysql: undefined

Aurora MySQL configuration is mutually exclusive with PostgreSQL configuration.

postgresql: { database?: string; users: Record<string, AwsRdsPostgresqlUserArgs> }

Selects the Aurora PostgreSQL user-management implementation.

Properties

  • database (string, optional) — Database used to administer roles and as the default grant database. Defaults to postgres.
  • users (Record<string, AwsRdsPostgresqlUserArgs>) — Login roles keyed by their exact PostgreSQL role name.