class AWS::EC2::NetworkInterface::Attachment

def detach options = {}

Returns:
  • (nil) -

Options Hash: (**options)
  • :force (Boolean) -- Set true to force

Parameters:
  • options (Hash) --
def detach options = {}
  client_opts = {}
  client_opts[:attachment_id] = attachment_id
  client_opts[:force] = options[:force] == true
  network_interface.client.detach_network_interface(client_opts)
end