ServiceResource / Sub-Resource / NetworkInterfaceAssociation

NetworkInterfaceAssociation#

EC2.ServiceResource.NetworkInterfaceAssociation(id)#

Creates a NetworkInterfaceAssociation resource.:

network_interface_association = ec2.NetworkInterfaceAssociation('id')
Parameters:

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

Return type:

EC2.NetworkInterfaceAssociation

Returns:

A NetworkInterfaceAssociation resource