Anthony Sadler, Alek Skarlatos, and Spencer Stone be in the film despite having no acting experience. (AP: Carl Costas)
Three Californian men who thwarted a terror attack on a French train in 2015 will play themselves in a Clint Eastwood-directed film about their heroics.
Airman 1st Class Spencer Stone, Oregon National Guardsman Alek Skarlatos and civilian Anthony Sadler, all childhood friends from California, will star in the movie The 15:17 to Paris.
The film is based on a book the trio co-wrote about taking down a terrorist, Warner Bros said in a statement.
The film follows the lives of the men from childhood to moment they helped subdue the man who opened fire inside a train travelling from Amsterdam to Paris.
The men were vacationing in Europe when they tackled Ayoub El-Khazzani, who had boarded the Paris-bound train with a Kalashnikov rifle, pistol and box cutter.
The new film will be the latest of several about real-life heroes Clint Eastwood has directed, including American Sniper and Sully.
But the leads in those films were played by Oscar-nominee Bradley Cooper and Oscar-winner Tom Hanks respectively, not their actual subjects.
It is common to give cameo roles to the subjects of films that do not require more than a line or two, but this case is nearly unprecedented in recent Hollywood history.
There are no reports of the men having any acting experience, though Skarlatos appeared on Dancing With the Stars soon after the Paris incident.
In 2015 the three Americans, along with a British man who also helped restrain El-Khazzani, were awarded the Legion of Honour by former French president Francois Hollande.
Nearly two months later Stone was stabbed in a separate incident in California.