asFile

Casts this AccessLog as a File and retrieves its aws.sdk.kotlin.services.appmesh.model.FileAccessLog value. Throws an exception if the AccessLog is not a File.