asFile

Casts this Output as a File and retrieves its aws.sdk.kotlin.services.apptest.model.OutputFile value. Throws an exception if the Output is not a File.