AwsRdsMysqlUserGrantArgs

interface AwsRdsMysqlUserGrantArgs { database?: string; privileges: string[]; table?: string; }

MySQL database or table privilege grant assigned to a managed account.

Example

CODE
import type { AwsRdsMysqlUserGrantArgs } from '@jobcloud/aws-rds';

const ordersRead: AwsRdsMysqlUserGrantArgs = { table: 'orders', privileges: ['SELECT'] };

Properties

database: string

Database receiving the grant. Defaults to the enclosing MySQL database. System databases are forbidden.

privileges: string[]

Non-empty privileges granted to the account.

table: string

Table receiving privileges. Defaults to * for all tables in the selected database.