AwsRdsMysqlDatabaseUsersArgs
interface AwsRdsMysqlDatabaseUsersArgs {
mysql: { database: string; users: Record<string, AwsRdsMysqlUserArgs> };
postgresql?: undefined;
}Aurora MySQL database-user configuration.
Example
CODE
import type { AwsRdsMysqlDatabaseUsersArgs } from '@jobcloud/aws-rds';
import { onePasswordSecret } from '@jobcloud/pulumi-helpers';
const mysql: AwsRdsMysqlDatabaseUsersArgs = {
mysql: {
database: 'orders',
users: {
applicationInternal: {
name: 'application',
host: '10.%',
password: onePasswordSecret({ title: 'application-database-password' }),
},
},
},
};Properties
mysql: { database: string; users: Record<string, AwsRdsMysqlUserArgs> }
Selects the Aurora MySQL user-management implementation.
Properties
database(string) — Default application database for grants. MySQL system databases are forbidden.users(Record<string, AwsRdsMysqlUserArgs>) — Host-qualified accounts keyed by stable declarative identity.
postgresql: undefined
Aurora PostgreSQL configuration is mutually exclusive with MySQL configuration.