Class | AWS::EC2::NetworkInterface |
In: |
lib/aws/ec2/network_interface.rb
lib/aws/ec2/network_interface/attachment.rb |
Parent: | Resource |
Represents a network interface in EC2.
network_interface_id | -> | id |
source_dest_check? | -> | source_dest_check |
network_interface_id | [R] | @return [String] |
@param [Instance,String] instance The instance to attach this network
interface to, may be an {Instance} object or an instance id string.
@param [Hash] options
@option options [Integer] :device_index (1) The index of the device
for the network interface attachment on the instance. Defaults to 1.
@return [nil]
Detaches this network interface. @param [Hash] options @option (see NetworkInterface::Attachment#detach) @return (see NetworkInterface::Attachment#detach)
@param [Array<SecurityGroup>,Array<String>] groups A list of
security groups objects or security group ids. This replaces the security group set on this network interface.
@return [nil]