AwsRdsMysqlUserArgs
interface AwsRdsMysqlUserArgs {
grants?: Record<string, AwsRdsMysqlUserGrantArgs>;
host: string;
name: string;
password: Input<OnePasswordSecret>;
}A direct, password-authenticated Aurora MySQL account.
The user map key is stable Pulumi identity; name and host form the remote MySQL account identity.
Example
CODE
import type { AwsRdsMysqlUserArgs } from '@jobcloud/aws-rds';
import { onePasswordSecret } from '@jobcloud/pulumi-helpers';
const application: AwsRdsMysqlUserArgs = {
name: 'application',
host: '10.%',
password: onePasswordSecret({ title: 'application-database-password' }),
};Properties
grants: Record<string, AwsRdsMysqlUserGrantArgs>
Least-privilege grants keyed by stable declarative identity.
host: string
Exact MySQL source-host qualifier forwarded unchanged to the database provider.
name: string
Exact MySQL username forwarded unchanged to the database provider.
password: Input<OnePasswordSecret>
Password resolved through onePasswordSecret from @jobcloud/pulumi-helpers.