SetUserRoleRequest: {
    instanceId: string;
    region?: Region;
    roles?: UserRole[];
    userName: string;
}

Type declaration

  • instanceId: string

    UUID of the Database Instance the user belongs to.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • Optionalroles?: UserRole[]

    List of roles assigned to the user, along with the corresponding database where each role is granted.

  • userName: string

    Name of the database user.