AwsRdsDatabaseUserReference

interface AwsRdsDatabaseUserReference { grants: Record<string, pulumi.Output<string>>; host?: Output<string | undefined>; id: Output<string>; name: Output<string>; }

A database user and its managed grants.

Example

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

declare const database: AwsRds;

const applicationRole = database.databaseUsers!.application!;
const roleId = applicationRole.id;
const ordersReadGrantId = applicationRole.grants.ordersRead;

Properties

grants: Record<string, pulumi.Output<string>>

Managed grants keyed by their declarative input key.

host: Output<string | undefined>

MySQL source host for a host-qualified account; omitted for PostgreSQL roles.

id: Output<string>

Database-specific identifier of the managed user or role.

name: Output<string>

User or role name.