No, the mpegts.stream file will contain the URI you mentioned (udp://0.0.0.0:10000) only if you have an encoder pushing an UDP stream to your Wowza IP on port 10000. Wowza will use the .stream file to connect to the local interface receiving that stream, on port 10000 and ingest it.
So, in your particular case, let's consider that your Wowza server running on the EC2 instance has the IP address 220.127.116.11. If your encoder is pushing an UDP stream to port 10000 towards the IP 18.104.22.168, providing you have the correct ports opened up in the Amazon firewall set up for your EC2 instance, you should see the UDP packets ariving on your Wowza server on port 10000.
Using the mpegts.stream file, Wowza will be able to publish that stream by ingesting the packets arriving on it's network interface from port 10000.