class AWS::EC2::ElasticIp

def network_interface

Returns:
  • (NetworkInterface, nil) - Returns the network interface this
def network_interface
  if nid = network_interface_id
    NetworkInterface.new(nid, :config => config)
  end
end