ServiceResource / Sub-Resource / NetworkInterface

NetworkInterface#

EC2.ServiceResource.NetworkInterface(id)#

Creates a NetworkInterface resource.:

network_interface = ec2.NetworkInterface('id')
Parameters:

id (string) – The NetworkInterface’s id identifier. This must be set.

Return type:

EC2.NetworkInterface

Returns:

A NetworkInterface resource