# File lib/aws/ec2/instance.rb, line 403 def subnet if subnet_id Subnet.new(subnet_id, :vpc_id => vpc_id, :config => config) end end