Method: Awscli::EC2::NetworkInterfaces#attach
- Defined in:
- lib/awscli/ec2.rb
#attach(nic_id, instance_id, device_index) ⇒ Object
869 870 871 872 |
# File 'lib/awscli/ec2.rb', line 869 def attach(nic_id, instance_id, device_index) @conn.attach_network_interface(nic_id, instance_id, device_index) puts "Attached Network Interface: #{nic_id} to instance: #{instance_id}" end |